mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-23 19:02:17 +00:00
74ba342c29
A KVM guest that mkvm defines gets no reserved IPv6 address for its firmware, its Genesis image or its installed system. The address is reserved for the DUID that iPXE sends. dhcp6_firmware_uuid_order answered canonical for mgt=kvm. That was true while getNodeUUID wrote the byte swap of vpd.uuid into the domain. The carried kvm fixes make mkvm write the UUID that the guest reports as vpd.uuid, so the firmware of the guest sends the byte swap of vpd.uuid, as a physical node does. dhcp6_client_duid now uses the firmware order for every node that sets no duid attribute, as the mac.duid schema text states. The dhcp6_firmware_uuid_order sub, its test and the nodehm read in dhcp6_client_duids are removed. Comments that described the old mkvm now describe a domain that an earlier mkvm defined. dhcp_dhcpv6_duid.t asserts that a kvm node holds its address on the byte-swapped order. It fails without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>