2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

Task 46945 Do not run setupntp if it is service node

This commit is contained in:
Casandra Qiu
2015-06-11 17:02:52 -04:00
parent b8411821fa
commit 5e6a982b4c

View File

@@ -18,6 +18,12 @@ if [ -e /etc/xCATMN ]; then
logger -t xcat -p local4.info "setupntp:Running on the Management Node , exiting "
exit 0
fi
# if on the Server Node, exit, makentp will set up service node
if [ -e /etc/xCATSN ]; then
logger -t xcat -p local4.info "setupntp:Running on the Server Node , exiting "
exit 0
fi
master=$MASTER
setup=0
sitemaster=$SITEMASTER