2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-12 08:12:33 +00:00

feat(nodediscover): set netboot=ipxe on discovered x86 nodes

A discovered x86 node without an x86 method got netboot=xnba, which
names the xNBA loader that xCAT retires. It now gets netboot=ipxe, the
method of the upstream iPXE loader that discovery itself uses. A node
that already has pxe, ipxe or xnba keeps it.
This commit is contained in:
Vinícius Ferrão
2026-09-27 02:09:10 -03:00
parent c480f4dac9
commit 48d774dfee
+1 -1
View File
@@ -147,7 +147,7 @@ sub _default_netboot {
$currboot = '' unless defined $currboot;
if ($arch =~ /x86/ and $currboot !~ /pxe/ and $currboot !~ /xnba/) {
return 'xnba';
return 'ipxe';
} elsif ($arch =~ /ppc/ and $platform =~ /PowerNV/) {
return 'petitboot';
} elsif ($arch =~ /ppc/ and $currboot !~ /yaboot/) {