diff --git a/xCAT-client/pods/man1/updatenode.1.pod b/xCAT-client/pods/man1/updatenode.1.pod index f9f3cb927..53fcf2f44 100644 --- a/xCAT-client/pods/man1/updatenode.1.pod +++ b/xCAT-client/pods/man1/updatenode.1.pod @@ -35,7 +35,7 @@ Run postscripts. =item 4 -Update the ssh keys and host keys for the service nodes and compute nodes. +Update the ssh keys and host keys for the service nodes and compute nodes; Update the ca and credentials for the service nodes. =back @@ -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 + +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// -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 -F instead. +be run during install. You should use updatenode -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 -p1 p2 are parameters for script1. +p1 p2 are parameters for script1. + =item 6 diff --git a/xCAT/postscripts/ospkgs b/xCAT/postscripts/ospkgs index 5e0db3841..d17400dd8 100755 --- a/xCAT/postscripts/ospkgs +++ b/xCAT/postscripts/ospkgs @@ -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 #-------------------------------------------------------------------------------