Support mkhwconn -s with or without hmc specified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b7b2a882a6
commit
b30faa9679
@ -56,7 +56,7 @@ sub mkhwconn_parse_args
|
||||
$Getopt::Long::ignorecase = 0;
|
||||
Getopt::Long::Configure( "bundling" );
|
||||
|
||||
if ( !GetOptions( \%opt, qw(V|verbose h|help t s T=s p=s P=s port=s) )) {
|
||||
if ( !GetOptions( \%opt, qw(V|verbose h|help t s:s T=s p=s P=s port=s ) )) {
|
||||
return( usage() );
|
||||
}
|
||||
|
||||
@ -177,7 +177,7 @@ sub mkhwconn_parse_args
|
||||
if ( $nodetype eq 'frame')
|
||||
{
|
||||
my $my_frame_bpa_cec = xCAT::DBobjUtils::getcecchildren( $node) ;
|
||||
push @frame_members, @$my_frame_bpa_cec;
|
||||
push @frame_members, @$my_frame_bpa_cec if($my_frame_bpa_cec);
|
||||
push @frame_members, $node;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user