minor fix.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2013-03-20 03:28:50 +00:00
parent 7fddd47f72
commit fee4fccf1b

View File

@ -4636,7 +4636,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 /(Product Name: IBM Flex System x)/, @data) {
if ((! grep /(Product Name: IBM Flex System x)/, @data) and (! grep /Device Description: HX/, @data)){
next;
}
@data = $t->cmd("ifconfig -T system:$_");