check for MN

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-10-23 19:18:52 +00:00
parent 86fd3ae7b0
commit 1c32268e9b
2 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#
# if on the Management Node, exit
if [ -e /etc/xCATMN ]; then
logger -t xcat -p local4.info "Running on the Management Node , exiting "
logger -t xcat -p local4.info "remoteshell:Running on the Management Node , exiting "
exit 0
fi
# Linux or if AIX call aixremoteshell -d

View File

@ -5,6 +5,11 @@
# setup NTP configuration on the compute nodes
#
#---------------------------------------------------------------------------
# if on the Management Node, exit
if [ -e /etc/xCATMN ]; then
logger -t xcat -p local4.info "setupntp:Running on the Management Node , exiting "
exit 0
fi
master=$MASTER
setup=0
sitemaster=$SITEMASTER