From 0db0602cd6bd8b5c07115f098b1cd8f5e79d0e43 Mon Sep 17 00:00:00 2001 From: linggao Date: Wed, 2 May 2012 19:14:50 +0000 Subject: [PATCH] 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 --- xCAT-client/pods/man1/updatenode.1.pod | 23 +++++++++++++++++++---- xCAT/postscripts/ospkgs | 2 ++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/xCAT-client/pods/man1/updatenode.1.pod b/xCAT-client/pods/man1/updatenode.1.pod index 52c2dceaa..53fcf2f44 100644 --- a/xCAT-client/pods/man1/updatenode.1.pod +++ b/xCAT-client/pods/man1/updatenode.1.pod @@ -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 #-------------------------------------------------------------------------------