mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-03 06:28:58 +00:00
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:
1 parent
3e02daa942
commit
d8eb1c23b9
4 files changed
+82
-4
No files matched your search
+2
-1
@@ -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)"
|
||||
|
||||
Reference in new issue
Block a user