mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
bd87aa9ed9
Discovery left noderes.netboot untouched for any architecture outside x86, ppc and armv7l, so a discovered riscv64 node had no boot method and nodeset failed to find a plugin for it. Move the default-netboot ladder into _default_netboot(), which returns the method to set or undef, and teach it that riscv64 nodes boot through UEFI and grub2. The existing x86, PowerNV, ppc and onie rules are unchanged; aarch64 is deliberately left as it was. The platform of the discovery request is only read when the request carries it, so a node that reports none does not gain the key, which would end up stored as discovery data.