mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-01 22:22:31 +00:00
Use xenial for travis (#11)
* Use Ubuntu Xenial for Travis CI * Fix CI tests * Ensure NTP time is synced https://askubuntu.com/a/1049810
This commit is contained in:
1 parent
d8eb1c23b9
commit
ce73240765
3 files changed
+10
-3
No files matched your search
@@ -121,6 +121,11 @@ function configureNTP() {
|
||||
else
|
||||
sudo apt-get update
|
||||
sudo apt-get --assume-yes install ntp
|
||||
|
||||
# force NTP to sync
|
||||
sudo service ntp stop
|
||||
sudo ntpd -gq
|
||||
sudo service ntp start
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user