mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-01 10:25:33 +00:00
makentp -a returns NTP maynot be synchronized on servicenode
This commit is contained in:
@ -126,9 +126,9 @@ if [ $OS_TYPE = Linux ]; then
|
||||
output=`eval $cmd 2>&1`
|
||||
rc=$?
|
||||
if [ "$rc" != "0" ] || (pmatch "$output" "*Time could not*");then
|
||||
echo "$cmd failed, NTP maynot be synchronized, please wait for NTP synchronized then run updatenode nodename -P setupntp"
|
||||
echo "$cmd failed, NTP may not be synchronized on server node"
|
||||
echo "please wait for NTP synchronized, may take at least 15 mins"
|
||||
logger -t xcat "$cmd failed"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
logger -t xcat "ntpdate -t5 $master "
|
||||
|
Reference in New Issue
Block a user