-Default to xNBA if PXE plugin is not explicitly called out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8dcec16ed5
commit
20bbf94bea
@ -123,8 +123,8 @@ sub process_request {
|
||||
if ($rent and $rent->{'netboot'}) {
|
||||
$currboot=$rent->{'netboot'};
|
||||
}
|
||||
if ($request->{arch}->[0] =~ /x86/ and $currboot !~ /pxe/) {
|
||||
$nrtab->setNodeAttribs($node,{netboot=>'pxe'});
|
||||
if ($request->{arch}->[0] =~ /x86/ and $currboot !~ /pxe/ and $currboot !~ /xnba/) {
|
||||
$nrtab->setNodeAttribs($node,{netboot=>'xnba'});
|
||||
} elsif ($request->{arch}->[0] =~ /ppc/ and $currboot !~ /yaboot/) {
|
||||
$nrtab->setNodeAttribs($node,{netboot=>'yaboot'});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user