Skip to content

Commit

Permalink
Use the -b option to force the time change
Browse files Browse the repository at this point in the history
  • Loading branch information
whowutwut committed Dec 13, 2016
1 parent 23179ae commit 482f6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xCAT-genesis-scripts/bin/doxcat
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 482f6b7

Please sign in to comment.