2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

Remove '-n' from pasu/piflash

Since '-n' can't work for pasu/piflash context, remove the option.
This commit is contained in:
jjohnson2
2015-06-04 10:42:54 -04:00
parent ec067311ef
commit 1ea9b98f0a

View File

@ -47,7 +47,6 @@ if (!GetOptions(
'b|batch=s' => \$batchfile,
'r|retry' => \$::RETRY,
'd|donotfilter' => \$::DONOTFILTER,
"n|nonodecheck" => \$::NONODECHECK, #does not check the noderange, in this case, noderange need to be a simple list of nodes.
"V|verbose" => \$::VERBOSE,
'h|help' => \$help,
) || $help || ($batchfile && scalar(@ARGV)!=1) || (!$batchfile && scalar(@ARGV)<2) ) {
@ -73,10 +72,6 @@ my @nodes=();
#print "fanout=$fanout, username=$username, noderange=$noderange\n";
my $nodeattrs;
if ($::NONODECHECK) {
@nodes=split(/,/, $noderange);
}
else { # contact xcatd to expand noderange and get ipmi attrs
# do not need to do this call, because getting the ipmi atts will also give us a list of nodes
#@nodes = expandnoderange($noderange);
@ -90,7 +85,6 @@ else { # contact xcatd to expand noderange and get ipmi attrs
#}
#exit;
@nodes = keys(%$nodeattrs);
}
my $children = 0;
my $inputs = new IO::Select;