Change the condition to know whether it's a ppc NGP blade

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2012-02-21 06:48:38 +00:00
parent e65e11dd0e
commit f1db4ebf47

View File

@ -4201,7 +4201,7 @@ sub rscanfsp {
my $id = $1;
# get the hardware type, only get the fsp for PPC blade
@data = $t->cmd("info -T system:$_");
if (! grep /Mach type\/model:.*PPC/, @data) {
if (! grep /(Mach type\/model:.*PPC)|(Mach type\/model: pITE)|(Firebird)/, @data) {
next;
}
@data = $t->cmd("ifconfig -T system:$_");