mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-15 13:13:08 +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:
parent
f626ce246d
commit
73645f341e
@ -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
|
||||
|
||||
|
@ -272,6 +272,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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user