From d6931c978a678d75e47d01c2b1cbff7b068a4090 Mon Sep 17 00:00:00 2001 From: Geoff Anderson Date: Thu, 29 Oct 2015 11:06:37 -0700 Subject: [PATCH] Updates vagrant to install ntp daemon; helps with clock skew in system tests --- vagrant/base.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vagrant/base.sh b/vagrant/base.sh index 2c2e5c2ef161d..08b38aeeec4fe 100644 --- a/vagrant/base.sh +++ b/vagrant/base.sh @@ -72,3 +72,8 @@ if [ ! -e /mnt ]; then mkdir /mnt fi chmod a+rwx /mnt + +# Run ntpdate once to sync to ntp servers +ntpdate pool.ntp.org +# Install ntp daemon - it will automatically start on boot +apt-get -y install ntp