mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
dfdc48b96d
Genesis discovery swapped the first three fields of product_uuid before it sent the UUID. When that was written, the kernel printed the SMBIOS bytes in their stored order, and the swap gave the UUID that dmidecode prints. Since Linux 3.8 product_uuid is that UUID already, so the swap stores vpd.uuid in SMBIOS byte order. makedhcp then reverses it again, and the DHCPv6 reservation does not match the DUID that UEFI firmware sends. Discovery now reports product_uuid as it is, as the OpenEmbedded Genesis does. doxcat keeps the swap in the DUID that it writes for dhclient, because the swap gives the DUID that the firmware sends. Windows provisioning links the node file under both UUID orders and does not change. (cherry picked from commit 1a6cd4259ca8b71fc12aa03e61b88b60705d7889)