1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-22 07:23:09 +00:00

Touch the machine-id file

So is seems that if you remove the machine-id file it won't regenerate the file
but if you touch the file and leave it empty on boot it'll put a new machine-id
in the empty file. So work around this bug ("feature"?) by touching the file
so we don't have other issues in the process.

We're track the outcome of this in RHBZ 1379800
This commit is contained in:
Peter Robinson 2016-09-27 20:17:46 +01:00
parent 9f4121eb55
commit 30c3f7e721
4 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,7 @@ dnf -y remove dracut-config-generic
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@ -276,6 +276,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@ -89,5 +89,6 @@ systemd-tmpfiles --create --boot
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@ -327,6 +327,7 @@ rm -f /boot/*-rescue*
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end