From 20bbf94beafa765809a6f5f3f39dd1e10f524eb9 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 25 Sep 2009 21:19:38 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/nodediscover.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/nodediscover.pm b/xCAT-server/lib/xcat/plugins/nodediscover.pm index 7ccfe7548..360993dda 100644 --- a/xCAT-server/lib/xcat/plugins/nodediscover.pm +++ b/xCAT-server/lib/xcat/plugins/nodediscover.pm @@ -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'}); }