From c9b7d853ad1e93d2c577b2c08a1bd456bd639259 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 3 Jul 2023 17:30:18 +0200 Subject: extra/nvme-cli: temporarily added nvme-cli.install for local rebuild (is fixed in master upstream) --- extra/nvmi-cli/nvme-cli.install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 extra/nvmi-cli/nvme-cli.install diff --git a/extra/nvmi-cli/nvme-cli.install b/extra/nvmi-cli/nvme-cli.install new file mode 100644 index 00000000..6babfeb6 --- /dev/null +++ b/extra/nvmi-cli/nvme-cli.install @@ -0,0 +1,8 @@ +post_install(){ + if [ ! -f /etc/nvme/hostnqn ]; then + nvme gen-hostnqn > /etc/nvme/hostnqn + fi + if [ ! -f /etc/nvme/hostid ]; then + uuidgen > /etc/nvme/hostid + fi +} -- cgit v1.2.3-70-g09d2