diff --git a/perl-xCAT/xCAT/FSPcfg.pm b/perl-xCAT/xCAT/FSPcfg.pm index 8b6142f03..277d76b71 100644 --- a/perl-xCAT/xCAT/FSPcfg.pm +++ b/perl-xCAT/xCAT/FSPcfg.pm @@ -134,8 +134,9 @@ sub parse_args { #} my $nodes = $request->{node}; + my $typehash = xCAT::DBobjUtils->getnodetype(\@$nodes, "ppc"); foreach my $nn (@$nodes) { - $request->{hwtype} = xCAT::DBobjUtils->getnodetype($nn); + $request->{hwtype} =$$typehash{$nn}; last if ($request->{hwtype}); }