mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-22 10:22:27 +00:00
54d9d1d20b
The kernel package writes a boot loader entry inside the build chroot. Its linux and initrd paths point into the scratch directory of the server (grub2-mkrelpath sees the bind mount) and its options are the kernel command line of the server. Diskless boot never reads it, but after installing to disk it sits next to the entry post.sh writes on the installed system, so grub may pick the broken one. Remove the entries when building, post.sh writes the right one when installing.