2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-19 17:02:15 +00:00
Files
xcat-core/xCAT/postscripts
Daniel Hilst 68d10c5111 feat(xcat-core): write the DHCPv6 client identifier on the installed node
makedhcp builds a DUID-UUID from vpd.uuid and the reservation carries one identifier, but no
network manager derives that identifier in the byte order the firmware sends. NetworkManager has
no option for the SMBIOS UUID at all, and systemd-networkd's DUIDType=uuid uses the decoded
product UUID, which is the other order. So a node whose installed OS speaks DHCPv6 matched no
reservation and took a pool address.

configdhcpv6duid writes the identifier for whichever renderer the node has: the whole DUID for
NetworkManager, and the type by name with the sixteen bytes alone for systemd-networkd, which
composes the two. It is in the default postscript list for Linux, after remoteshell. AIX has
neither renderer and keeps its list.

A diskless or statelite node needs nothing: its address comes from the kernel command line and
configeth writes dhcp6: false, so its image sends no DHCPv6 request.

postscript_dhcpv6_duid.bats pins both forms to the literal the two Genesis images already use,
so the four copies of the byte swap cannot drift apart, and asserts the node fails loudly when
it has no renderer. postscript_dhcpv6_duid_registered.t holds the registration down: dropping it
fails 3 of its 7 assertions.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-28 01:08:42 -03:00
..
2024-05-07 16:19:25 +02:00
2018-11-15 17:12:55 +08:00
2016-08-15 08:50:49 -04:00
2022-08-15 10:16:22 -04:00
2020-06-04 10:00:56 -04:00
2020-06-04 10:00:56 -04:00
2018-07-06 04:46:25 -04:00
2022-08-15 10:16:22 -04:00
2018-11-15 17:12:55 +08:00
2018-11-15 17:12:55 +08:00
2018-11-15 17:12:55 +08:00
…
2023-02-28 15:43:03 -05:00
2018-11-15 17:12:55 +08:00
2018-11-15 17:12:55 +08:00
2018-11-15 17:12:55 +08:00