Fix bug 3521680: rspconfig does not work for hmc if hwtype is not set

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-05-17 03:33:03 +00:00
parent c25da18107
commit 92dd4b49af

View File

@ -90,7 +90,7 @@ sub parse_args {
#}
my $nodes = $request->{node};
my $typehash = xCAT::DBobjUtils->getnodetype($nodes, "ppc");
my $typehash = xCAT::DBobjUtils->getnodetype($nodes);
foreach my $nn (@$nodes) {
$request->{hwtype} = $$typehash{$nn};
last if ($request->{hwtype});