config.sh: Drop creating an empty machine-id(5) file
According to the documentation, an empty file triggers firstboot mode. Since we're not using a read-only root filesystem, we do not need to leverage any other tricks here and we can just have no file present.
This commit is contained in:
parent
a3c3a8137f
commit
acc56affb2
@ -29,7 +29,6 @@ setsebool -P selinuxuser_execmod 1
|
|||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
## Clear machine-id on pre generated images
|
## Clear machine-id on pre generated images
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
|
||||||
## remove random seed, the newly installed instance should make its own
|
## remove random seed, the newly installed instance should make its own
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user