runtime-postinstall: Remove machine specific nvme files
These need to be created on the installed system, and should not be included in the image. Resolves: rhbz#2071074
This commit is contained in:
parent
b4555e602e
commit
1f69df73fa
@ -112,6 +112,10 @@ remove etc/lvm/cache
|
||||
remove etc/lvm/lvm.conf
|
||||
append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n"
|
||||
|
||||
## Remove machine specific nvme-cli files
|
||||
remove etc/nvme/hostid
|
||||
remove etc/nvme/hostnqn
|
||||
|
||||
## Record the package versions used to create the image
|
||||
## rpm initializes nss, which requires /dev/urandom to be present, hence the mknod
|
||||
runcmd chroot ${root} /usr/bin/mknod -m 666 /dev/random c 1 8
|
||||
|
Loading…
Reference in New Issue
Block a user