mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-27 12:52:16 +00:00
582fd157f2
The Ubuntu diskless kernel command line carries no dracut ip= parameter. dracut then configures the interface it needs with DHCPv4, so an IPv6-only node comes up with no global address, cannot fetch imgurl and never mounts a root. gen_net_boot_params now returns ip6 beside the ip it already derived, spelled either6, which asks dracut for DHCPv6 and falls back to router advertisement. debian.pm appends it for a node that xCAT::NetworkUtils::node_is_ipv6_only reports as IPv6-only, so an IPv4 node is told exactly what it was told before. The ip the EL path reads is unchanged. Captured by xCAT-test/unit/networkutils_dracut_ipv6_boot_param.t. This closes the derivation; the Ubuntu diskless path is not yet proven end to end on a cluster. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>