Update fedora-server-vm-full.ks

Original author: https://bugzilla.redhat.com/show_bug.cgi?id=2247872#c39
This commit is contained in:
Tomáš Hrčka 2024-08-14 17:12:52 +00:00 committed by humaton
parent 25acc64393
commit a085b22db0

View File

@ -162,6 +162,10 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
sed -i -e 's|console=tty0||g' /boot/loader/entries/*conf
fi
# Trigger lvm-devices-import.path and .service to create
# a new /etc/lvm/devices/system.devices for the root VG.
rm -f /etc/lvm/devices/system.devices
touch /etc/lvm/devices/auto-import-rootvg
# Remove machine-id on pre generated images
rm -f /etc/machine-id