From 908d54eebecf7556f8ba957ae0cb76bbaa47f1da Mon Sep 17 00:00:00 2001 From: daniceexi Date: Fri, 23 Apr 2010 10:46:04 +0000 Subject: [PATCH] defect 2990760: make otherpkgs do NOT run when booting up. This has been fixed, but was overwritten by last checkin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/otherpkgs | 2 ++ xCAT/postscripts/syncfiles | 1 + 2 files changed, 3 insertions(+) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index c1018bd03..c45524f7f 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -26,9 +26,11 @@ # do nothing for diskless deployment case because it is done in the image already if [[ $UPDATENODE -ne 1 ]]; then if [ "$NODESETSTATE" = "netboot" -o \ + "$NODESETSTATE" = "statelite" -o \ "$NODESETSTATE" = "diskless" -o \ "$NODESETSTATE" = "dataless" ] then + echo " Did not install any extra rpms." exit 0 fi fi diff --git a/xCAT/postscripts/syncfiles b/xCAT/postscripts/syncfiles index 94544ba4f..f18e4dbf1 100644 --- a/xCAT/postscripts/syncfiles +++ b/xCAT/postscripts/syncfiles @@ -22,6 +22,7 @@ fi # do nothing for diskless deployment case because it is done in the image already if [ "$NODESETSTATE" = "netboot" -o \ + "$NODESETSTATE" = "statelite" -o \ "$NODESETSTATE" = "diskless" -o \ "$NODESETSTATE" = "dataless" ] then