From a085b22db05217038f429bfce07f5861e2ef0cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hr=C4=8Dka?= Date: Wed, 14 Aug 2024 17:12:52 +0000 Subject: [PATCH] Update fedora-server-vm-full.ks Original author: https://bugzilla.redhat.com/show_bug.cgi?id=2247872#c39 --- fedora-server-vm-full.ks | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fedora-server-vm-full.ks b/fedora-server-vm-full.ks index 1b43da0..bda62e7 100644 --- a/fedora-server-vm-full.ks +++ b/fedora-server-vm-full.ks @@ -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