config.sh: explicitly mark the machine-id as uninitialized

Fixup for acc56affb2
This commit is contained in:
Davide Cavalca 2023-03-29 20:52:03 +00:00
parent f11d8d71d5
commit 90f4d8bd3a

View File

@ -29,6 +29,7 @@ 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
echo 'uninitialized' > /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