Fix bug 3512371:hcp in HMC node definition

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-04-10 13:28:24 +00:00
parent 17593ac412
commit 17fba594b1

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/) {