diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 2c5541b6d..e82ea225e 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -2148,8 +2148,10 @@ sub process_request { } $request->{opt} = \%t; } - -# $request->{hwtype} = $package; + if (ref($req->{hwtype}) eq 'ARRAY') { + $request->{hwtype} = $req->{hwtype}->[0]; + } +# $request->{hwtype} = $package; $request->{callback}= $callback; $request->{subreq} = $subreq; #########################