mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-19 08:52:20 +00:00
e9e83635ee
When the image has no /etc/default/grub, as images built by imgutil do not, installing it to disk on EL9 and EL10 wrote one with rd.lvm.lv=vg/root rd.lvm.lv=vg/swap, volumes that do not exist. A missing /etc/kernel/cmdline likewise got root=/dev/mapper/localstorage-root, which is wrong for an install without LVM or with a volume group named after the node. The boot loader entries were rewritten correctly, so the first boot worked, but grub2-mkconfig --update-bls-cmdline or a new kernel would take the wrong names from these files. Both defaults now name the root device and the logical volumes for root and swap that the install created.