diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index b3fc7b605..b926e011a 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1755,13 +1755,16 @@ sub process_request { %$request_new =%$request; $request_new->{node} = \@next; $request_new->{fsp_api} = 0; - if($lasthcp_type =~ /^(fsp|bpa)$/ && $request->{hwtype} ne 'hmc' ) { + if($lasthcp_type =~ /^(fsp|bpa)$/ ) { #my $fsp_api = check_fsp_api($request); #if($fsp_api == 0 ) { $request_new->{fsp_api} = 1; - $request_new->{hwtype} = $lasthcp_type; # } } + #For mkhwconn .... + if( $request->{hwtype} ne 'hmc' ) { + $request_new->{hwtype} = $lasthcp_type; + } #print Dumper($request_new); @failed_nodes = () ; process_command( $request_new , \%hcps_will, \@failed_nodes, \%failed_msg);