Update scripts for Ubuntu 20.04 (#7)

* Modify time sync for 20.04

* Add Vagrantfile for 20.04

* Update documentation
This commit is contained in:
Jason Hee authored and GitHub committed 2020-04-24 12:12:01 +08:00
1 parent 3e02daa942
commit d8eb1c23b9
4 files changed
+82 -4

No files matched your search

+2 -1
View File
@@ -115,7 +115,8 @@ function testNTP() {
configureNTP
ubuntu_version="$(lsb_release -sr)"
if [[ $ubuntu_version == '18.04' ]]; then
if [[ $ubuntu_version == '18.04' || $ubuntu_version == '20.04' ]]; then
sleep 2
assertContains "System clock synchronized: yes" "$(timedatectl status)"
else
assertContains "NTP synchronized: yes" "$(timedatectl status)"