mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 01:42:15 +00:00
9c311c8946
The Ubuntu genimage enters dracut mode only when the rootimg holds /usr/share/dracut or /usr/lib/dracut (netboot/ubuntu/genimage:791). Seven netboot package lists hold no dracut, so genimage writes the legacy /init. That /init waits for an "inet addr" line from ifconfig (genimage:1339) and cuts XCATSERVER at the first colon (genimage:1348). Both steps are IPv4-only, so an IPv6-only diskless node never boots. Ubuntu 26.04 diskless is the row this blocks. Add dracut and dracut-network to the 24.04 ppc64el list, its ppc64le copy, and the five 26.04 netboot lists. Both packages are published for noble (universe, 060+5-1ubuntu3) and resolute (main, 110-11) on amd64, ppc64el and riscv64. dracut-network pulls iproute2 on resolute and iputils-arping on noble, so no other entry is needed. The new xCAT-test/unit/ubuntu_netboot_dracut_pkglists.t reads the seven lists plus the working 24.04 x86_64 reference and asserts both entries. profile_customization.t now expects dracut in the 26.04 riscv64 list. Removing dracut from compute.ubuntu26.04.pkglist fails only that list's assertion; the reference stays green. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>