doc added for sprcifying --keeprepo for ospkgs postscript

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2012-05-02 19:14:50 +00:00
parent 17de2c7ae5
commit 0db0602cd6
2 changed files with 21 additions and 4 deletions

View File

@ -126,6 +126,20 @@ https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_AIX_RTE_Diskful
For diskless installs, read:
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_AIX_Diskless_Nodes
B<For Linux systems:>
It is equivalent to running the
folloiwng command:
updatenode noderange -P ospkgs,otherpkgs
It will update all the rpms specified in the .pkglist file and .otherpkgs.pkglist
file. ospkgs postscript will normally remove all the existing rpm
repositories before adding server:/install/<os>/<arch/ as the new repository.
To preserve the existing repositories, you can run the following command instead:
updatenode noderange -P "ospkgs --keeprepo,otherpkgs"
=head2 To run postscripts
@ -334,13 +348,13 @@ Update the ca and credentials to the service nodes.
=item B<-P|--scripts>
Specifies that postscripts should be run on the nodes.
Specifies that postscripts should be run on the nodes.
updatenode -P syncfiles is not supported. The syncfiles postscript can only
be run during install. You should use updatenode <noderange> -F instead.
be run during install. You should use updatenode <noderange> -F instead.
=item B<-S|--sw>
Specifies that node software should be updated.
Specifies that node software should be updated.
=item B<-s|--sn>
@ -425,7 +439,8 @@ the following command is equivalent:
B<updatenode clstrn01 "script1 p1 p2,script2">
p1 p2 are parameters for script1.
p1 p2 are parameters for script1.
=item 6

View File

@ -18,6 +18,8 @@
# You can run the following commands to install/update the rpms from os distro.
# updatenode noderange ospkgs
# updatenode noderange -S (this one intslls/updates rpms from os distro as well as otherpkgs)
# updatenode noderange -P "ospkgs --keeprepo" (this one will preserve the original repositories when installing/updating the rpms. )
#
#
#=cut
#-------------------------------------------------------------------------------