From 54b364cb77ed7972f3be068b3479c7ff01d77898 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 16 Nov 2010 12:27:42 +0000 Subject: [PATCH] defect 3108361: make the syncfiles postscript can be run during the diskless node booting up git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/syncfiles | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/xCAT/postscripts/syncfiles b/xCAT/postscripts/syncfiles index f18e4dbf1..580ef0f36 100644 --- a/xCAT/postscripts/syncfiles +++ b/xCAT/postscripts/syncfiles @@ -20,18 +20,6 @@ if [[ $NOSYNCFILES -eq 1 ]]; then exit 0 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 - echo " Did not sync any files." - logger -t xCAT "$0: the node set state is $NODESETSTATE" - exit 0 -fi - - logger -t xCAT "Performing syncfiles postscript" osname=`uname`