mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 17:30:19 +00:00
-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:
@ -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'});
|
||||
}
|
||||
|
Reference in New Issue
Block a user