defect 2983699: postscript otherpkgs should not do anything when netboot to statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
270a784f1c
commit
eaaa0313ee
@ -25,9 +25,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
|
||||
|
@ -9,11 +9,13 @@
|
||||
|
||||
# do nothing when UPDATENODE=1 because it is done from the top down
|
||||
if [[ $UPDATENODE -eq 1 ]]; then
|
||||
echo " Did not sync any files."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#do nothing id there is no sync file template for the node
|
||||
if [[ $NOSYNCFILES -eq 1 ]]; then
|
||||
echo " Did not sync any files."
|
||||
logger -t xCAT "$0: there is no sync file template for the node"
|
||||
exit 0
|
||||
fi
|
||||
@ -23,8 +25,9 @@ if [ "$NODESETSTATE" = "netboot" -o \
|
||||
"$NODESETSTATE" = "diskless" -o \
|
||||
"$NODESETSTATE" = "dataless" ]
|
||||
then
|
||||
logger -t xCAT "$0: the node set state is $NODESETSTATE"
|
||||
exit 0
|
||||
echo " Did not sync any files."
|
||||
logger -t xCAT "$0: the node set state is $NODESETSTATE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user