mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 01:42:15 +00:00
a8d482cdb1
kea_client_classes6 built one class per client architecture, each naming the signed iPXE shim. That answers the firmware. The shim starts iPXE, which solicits again carrying the iPXE user class, and a client xCAT has never seen matches no per-node class: its only match is the same architecture class, so it is given the shim again and never fetches a kernel. The Genesis image never runs, no findme reaches xcatd, and sequential discovery over IPv6 cannot start. The DHCPv4 side has carried this second stage for years in kea_xnba_network_classes, keyed on option 93. kea_client_classes6 now also builds an iPXE second-stage class for the network, naming the per-network script mknb writes under xcat/ipxe/nets, which carries destiny=discover and no node name. The class is offered before the architecture class, because Kea takes the first class that defines an option. kea_boot_client_classes6 passes the network and its prefix length, which name that script. Measured on xcat88-mn: /tftpboot/xcat/ipxe/nets holds 2001:db8:188::_64.uefi and no DHCPv6 class named it. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>