mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	add --nonodecheck to the psh usage and man page
This commit is contained in:
		@@ -32,7 +32,7 @@ if (!GetOptions(
 | 
			
		||||
  "nonodecheck" => \$::NONODECHECK,  #does not check the noderange, in this case, noderange need to be a list of nodes.
 | 
			
		||||
  'h|help' => \$help,
 | 
			
		||||
  ) || $help || scalar(@ARGV)<2 ) {
 | 
			
		||||
  print "Usage: psh [-i <interface>] [-l <user>] [-f <fanout>] <noderange> <command>\n";
 | 
			
		||||
  print "Usage: psh [-i <interface>] [-l <user>] [-f <fanout>] [--nonodecheck] <noderange> <command>\n";
 | 
			
		||||
  exit;
 | 
			
		||||
}
 | 
			
		||||
my %nodehdl;
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,12 @@ rently  executing  remote shell processes.
 | 
			
		||||
Log into the nodes as the specified username.  The default is to use the same username as you
 | 
			
		||||
are running the psh command as.
 | 
			
		||||
 | 
			
		||||
=item B<-n|--nonodecheck>
 | 
			
		||||
 | 
			
		||||
Do not send the noderange to xcatd to expand it into a list of nodes.  Instead, use the noderange exactly as it is specified.
 | 
			
		||||
In this case, the noderange must be a simple list of comma-separated hostnames of the nodes.
 | 
			
		||||
This allows you to run B<psh> even when xcatd is not running.
 | 
			
		||||
 | 
			
		||||
=item B<noderange>
 | 
			
		||||
 | 
			
		||||
See L<noderange(3)|noderange.3>.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user