mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-12 11:06:17 +00:00
1d8d4f3077
image2disk rewrote root= in the boot loader entries but kept their linux and initrd paths. Those come from where the image was built: in a diskless image from imgutil they carry the scratch directory of the server (grub2-mkrelpath sees its bind mount), and a /boot/ path does not match the separate /boot filesystem image2disk creates for such images. grub then fails with "you need to load the kernel". Make the paths relative to the boot filesystem of the target.