Skip to content

Commit

Permalink
Force time sync before starting cluster installs
Browse files Browse the repository at this point in the history
  • Loading branch information
neelimamukiri committed Jul 21, 2017
1 parent 862e16f commit 7eb1c33
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cluster/docker17/bootstrap_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ if systemctl -q is-enabled firewalld; then
fi
usermod -a -G docker $SUDO_USER

systemctl stop ntpd
ntpdate 1.ntp.esl.cisco.com || ntpdate pool.ntp.org
systemctl start ntpd

exit 0
4 changes: 4 additions & 0 deletions cluster/docker17/centos_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ if systemctl -q is-enabled firewalld; then
systemctl disable firewalld
fi

systemctl stop ntpd
ntpdate 1.ntp.esl.cisco.com || ntpdate pool.ntp.org
systemctl start ntpd

exit 0
4 changes: 4 additions & 0 deletions cluster/k8s1.4/bootstrap_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ if systemctl -q is-enabled firewalld; then
systemctl disable firewalld
fi

systemctl stop ntpd
ntpdate 1.ntp.esl.cisco.com || ntpdate pool.ntp.org
systemctl start ntpd

exit 0
4 changes: 4 additions & 0 deletions cluster/k8s1.6/bootstrap_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ if systemctl -q is-enabled firewalld; then
systemctl disable firewalld
fi

systemctl stop ntpd
ntpdate 1.ntp.esl.cisco.com || ntpdate pool.ntp.org
systemctl start ntpd

exit 0

0 comments on commit 7eb1c33

Please sign in to comment.