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:
parent
86fd3ae7b0
commit
1c32268e9b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user