Describe the bug
Template create for RocketLinux 9 with LVM devices won't work when creating a new VM. The seal process is not removing the /etc/lvm/devices/system.devices file, so the machine can't find the correct PV ID.
To reproduce
Create a new VM with EL 9 and use LVM for the disk layout.
Shutdown the VM and create a template from it, checking the option "Seal Template"
Create a new VM from the generate template
VM will drop to emergency shell due to the PV not found
Expected behavior
Machine created from the template boots successfully
Additional context
To workaround, remove manually the file /etc/lvm/devices/system.devices before shutting down the VM.
Affected version 4.5.4-1
Describe the bug Template create for RocketLinux 9 with LVM devices won't work when creating a new VM. The seal process is not removing the /etc/lvm/devices/system.devices file, so the machine can't find the correct PV ID.
To reproduce
Expected behavior Machine created from the template boots successfully
Additional context To workaround, remove manually the file /etc/lvm/devices/system.devices before shutting down the VM.