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/branches/2.7@12755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-05-17 03:32:33 +00:00
parent 058b8950ab
commit 40305a94b4

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});