jobextra/nvme-cli/nvme-cli.install

9 lines
167 B
Plaintext

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
}