From 482f6b7fc2f40a592b746b39883e6914c27f2f05 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Tue, 13 Dec 2016 13:42:07 -0500 Subject: [PATCH] Use the -b option to force the time change --- xCAT-genesis-scripts/bin/doxcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/bin/doxcat b/xCAT-genesis-scripts/bin/doxcat index f57234a49..12d4e3191 100755 --- a/xCAT-genesis-scripts/bin/doxcat +++ b/xCAT-genesis-scripts/bin/doxcat @@ -263,7 +263,7 @@ logger -s -t $log_label -p local4.info "Acquired IPv4 address on $bootnic" ip addr show dev $bootnic|grep -v 'scope link'|grep -v 'dynamic'|grep -v inet6|grep inet|awk '{print $2}' logger -s -t $log_label -p local4.info "Attempting to sync the date with $XCATMASTER..." -ntpdate $XCATMASTER +ntpdate -b $XCATMASTER if [ -e "/dev/rtc" ]; then logger -s -t $log_label -p local4.info "Attempting to sync hardware clock..."