From 04a8504c1e36c821a43b2cca04c2b24c58533f13 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 6 Sep 2010 08:03:28 +0000 Subject: [PATCH] fixed defect 3043952 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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);