2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-27 04:42:17 +00:00
Files
xcat-core/xCAT-server
Daniel Hilst b5300555a6 fix(xcat-core): an installed KVM node sends a DUID its reservation does not hold
With mac.duid=canonical or firmware, an installed KVM guest whose
domain an earlier mkvm defined sends a DHCPv6 client identifier that
its reservation does not hold.

makedhcp applies the policy to vpd.uuid. configdhcpv6duid applied it to
product_uuid of the node. In such a guest product_uuid is the byte swap
of vpd.uuid, so the script wrote the other UUID order.

mypostscript now exports vpd.uuid as VPDUUID, and configdhcpv6duid
applies the policy to it. The script reads product_uuid only when
VPDUUID holds no UUID.

postscript_dhcpv6_duid.bats asserts the DUID for each policy with a
swapped product_uuid, and the VPDUUID export. The tests fail without
this change.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-11-09 18:19:09 -03:00
..
2026-10-31 08:55:22 -03:00
2016-07-21 13:27:40 -04:00