index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-07-03 17:30:18 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-07-03 17:30:18 +0200 |
commit | c9b7d853ad1e93d2c577b2c08a1bd456bd639259 (patch) | |
tree | c34308c4fc5ad0ff5e9ade3b4b2de3ab20f03613 | |
parent | 65d5b0f6c8a8a85f899f49c8887bdc482e2b8867 (diff) |
-rw-r--r-- | extra/nvmi-cli/nvme-cli.install | 8 |
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 +} |