git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			49 lines
		
	
	
		
			1000 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1000 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| =head1 NAME
 | |
| 
 | |
| B<updateSNimage> - Adds the needed Service Node configuration files to the install image.
 | |
| 
 | |
| =head1 SYNOPSIS
 | |
| 
 | |
| I<updateSNimage [-h | --help ]>
 | |
| 
 | |
| I<updateSNimage [-v | --version]>
 | |
| 
 | |
| I<updateSNimage {-n} [-p]>
 | |
| 
 | |
| =head1 DESCRIPTION
 | |
| 
 | |
| This command is used to add the Service Node configuration files to the install image. It will either copy them locally or scp them to a remote host.
 | |
| 
 | |
| =head1 OPTIONS
 | |
| 
 | |
| 
 | |
| B<-h |--help>            Display usage message.
 | |
| 
 | |
| B<-v |--version>         Display xCAT version.
 | |
| 
 | |
| 
 | |
| B<-n | --node>           A remote host name or ip address that contains the install image to be updated.
 | |
| 
 | |
| 
 | |
| B<-p |--path>            Path to the install image.
 | |
| 
 | |
| 
 | |
| =head1 RETURN VALUE
 | |
| 
 | |
| 0 The command completed successfully.
 | |
| 
 | |
| 1 An error has occurred.
 | |
| 
 | |
| =head1 EXAMPLES
 | |
| 
 | |
| 1. To update the image on the local host.
 | |
| 
 | |
| I<updateSNimage -p /install/netboot/fedora8/x86_64/test/rootimg>
 | |
| 
 | |
| 
 | |
| 2. To update the image on a remote host.
 | |
| 
 | |
| I<updateSNimage -n 9.112.45.6 -p /install/netboot/fedora8/x86_64/test/rootimg>
 | |
| 
 | |
| 
 |