From 1ea9b98f0a9f8e43a368d93f3146b5908d07721f Mon Sep 17 00:00:00 2001 From: jjohnson2 Date: Thu, 4 Jun 2015 10:42:54 -0400 Subject: [PATCH] Remove '-n' from pasu/piflash Since '-n' can't work for pasu/piflash context, remove the option. --- xCAT-client/bin/pasu | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xCAT-client/bin/pasu b/xCAT-client/bin/pasu index e8679a221..42b77dd7e 100755 --- a/xCAT-client/bin/pasu +++ b/xCAT-client/bin/pasu @@ -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;