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:
@@ -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/) {
|
||||
|
||||
Reference in New Issue
Block a user