minor fix: remove the restriction of flag -t; modify hmc service type of slp request.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b2c1c84696
commit
e31e02650d
@ -293,7 +293,7 @@ sub parse_args {
|
||||
if ( exists( $opt{t} )) {
|
||||
$globalopt{maxtries} = $opt{t};
|
||||
|
||||
if ( $globalopt{maxtries} !~ /^0?[1-9]$/ ) {
|
||||
if ( $globalopt{maxtries} !~ /^\d+$/ ) {
|
||||
return( usage( "Invalid command tries (1-9)" ));
|
||||
}
|
||||
}
|
||||
@ -498,7 +498,7 @@ sub invoke_dodiscover {
|
||||
}
|
||||
#efix for hmc bug
|
||||
if ($services =~ /hardware-management-console/) {
|
||||
$services = [WILDCARD_SERVICE,HARDWARE_SERVICE,SOFTWARE_SERVICE];
|
||||
$services = [SOFTWARE_SERVICE];
|
||||
}
|
||||
|
||||
if ($globalopt{maxtries}) {
|
||||
|
Loading…
Reference in New Issue
Block a user