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
This commit is contained in:
daniceexi 2010-11-16 12:27:42 +00:00
parent 34ac6419a4
commit 54b364cb77

View File

@ -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`