mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-15 10:20:51 +00:00
c6e38483fb
When a node's install NIC is selected by MAC (installnic=mac), the generated netplan was invalid: it named the ethernet device the literal string 'mac' and set its MAC match to the full pipe-delimited list of all node MACs. The result had no valid interface, so neither the installer environment nor the installed system came up on the network. Match the install NIC by interface-name glob in the installer, and in the target use only the primary MAC and omit set-name when the install NIC is selected by MAC. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>