mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-01 00:57:37 +00:00
Remove -t option for bmcdiscover and used by default
This commit is contained in:
@@ -115,7 +115,7 @@ sub bmcdiscovery_usage {
|
||||
push @{ $rsp->{data} }, "Usage:";
|
||||
push @{ $rsp->{data} }, "\tbmcdiscover [-?|-h|--help]";
|
||||
push @{ $rsp->{data} }, "\tbmcdiscover [-v|--version]";
|
||||
push @{ $rsp->{data} }, "\tbmcdiscover [-s scan_method] [-u bmc_user] [-p bmc_passwd] [-z] [-w] [-t] --range ip_range\n";
|
||||
push @{ $rsp->{data} }, "\tbmcdiscover [-s scan_method] [-u bmc_user] [-p bmc_passwd] [-z] [-w] --range ip_range\n";
|
||||
|
||||
push @{ $rsp->{data} }, "\tCheck BMC administrator User/Password:\n";
|
||||
push @{ $rsp->{data} }, "\t\tbmcdiscover -u bmc_user -p bmc_password -i bmc_ip --check\n";
|
||||
@@ -168,7 +168,6 @@ sub bmcdiscovery_processargs {
|
||||
'bmcpasswd|p=s' => \$::opt_P,
|
||||
'ipsource' => \$::opt_S,
|
||||
'version|v' => \$::opt_v,
|
||||
't' => \$::opt_T,
|
||||
);
|
||||
|
||||
if (!$getopt_success) {
|
||||
@@ -935,9 +934,7 @@ sub bmcdiscovery_ipmi {
|
||||
} else {
|
||||
$ip .= ",,";
|
||||
}
|
||||
if ($::opt_T) {
|
||||
$ip .= ",mp,bmc";
|
||||
}
|
||||
$ip .= ",mp,bmc";
|
||||
if ($mtm and $serial) {
|
||||
$node = "node-$mtm-$serial";
|
||||
$node =~ s/(.*)/\L$1/g;
|
||||
|
Reference in New Issue
Block a user