Fix bug 3512371: hcp in HMC node definition

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-04-10 13:29:48 +00:00
parent 91150288aa
commit 1e3916352e

View File

@ -1857,7 +1857,7 @@ sub preprocess_request {
} else {
$support_hcp_type = "ivm";
}
my $typehash = xCAT::DBobjUtils->getnodetype(\@$noderange, "ppc");
my $typehash = xCAT::DBobjUtils->getnodetype(\@$noderange) ;
foreach ( @$noderange ) {
my $nodetype = $$typehash{$_};
if ($nodetype and $nodetype =~ /$support_hcp_type/) {