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:
@@ -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
|
||||
|
Reference in New Issue
Block a user