summarylogtreecommitdiffstats
path: root/nvme-cli-git.install
blob: 6babfeb6961388b1ecc8e8b7e5305a621e665195 (plain)
1
2
3
4
5
6
7
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
}