mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-24 03:12:18 +00:00
docs(dhcp): the iPXE loader cannot finish an IPv6 boot yet
The commit that added ipxe to the DHCPv6 gate justified it with strings found in snponly.efi. That was not evidence that the feature is built in, and a boot disproved it. Measured on an IPv6-only alma10.1 node with ipxe-xcat 2.0.0: the firmware does fetch the shim over IPv6 from the option this code sends, the shim chains to snponly.efi, and iPXE then reports "No configuration methods succeeded" on a network whose only DHCP server is DHCPv6. iPXE never reaches the script. The option stays, because it is what xCAT owes a client that asks, and the node fails at the same point without it. The comment now records what the loader cannot do, so the next reader does not repeat the strings test. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -4504,8 +4504,14 @@ sub dhcp6_bootfile_url_for_node
|
||||
|
||||
if ($netboot eq 'ipxe') {
|
||||
# The firmware that solicits over DHCPv6 is UEFI, so the UEFI loader is the only one
|
||||
# such a client can ask for. The iPXE build xCAT ships reports dhcpv6 and ipv6, which
|
||||
# the xnba loader does not, so xnba still gets no option 59.
|
||||
# such a client can ask for. xnba still gets no option 59.
|
||||
#
|
||||
# The loader this names cannot finish the boot yet. Measured on ipxe-xcat 2.0.0:
|
||||
# the firmware fetches the shim over IPv6 and starts iPXE, and iPXE then answers
|
||||
# "No configuration methods succeeded" on a network whose only DHCP server is
|
||||
# DHCPv6. The option is still correct for xCAT to send, and the node fails at the
|
||||
# same place without it, but netboot=ipxe over IPv6 needs an iPXE built with
|
||||
# NET_PROTO_IPV6 before it can work.
|
||||
my $loader = xCAT::DHCP::BootPolicy->x86_loader( method => 'ipxe' )->{uefi};
|
||||
return unless $loader;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user