mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-02 06:28:59 +00:00
Add support for 22.04 (#16)
* Add Vagrantfile for Jammy * Fix configuration of NTP for Jammy * Update setup text to be more accurate * Update README
This commit is contained in:
1 parent
7beaeed0cd
commit
6fc75796a3
5 files changed
+10
-4
No files matched your search
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure(2) do |config|
|
||||
config.vm.box = "ubuntu/jammy64"
|
||||
end
|
||||
+1
-1
@@ -116,7 +116,7 @@ function testNTP() {
|
||||
configureNTP
|
||||
ubuntu_version="$(lsb_release -sr)"
|
||||
|
||||
if [[ $ubuntu_version == '18.04' || $ubuntu_version == '20.04' ]]; then
|
||||
if [[ $(bc -l <<< "${ubuntu_version} >= 18.04") -eq 1 ]]; then
|
||||
sleep 2
|
||||
assertContains "System clock synchronized: yes" "$(timedatectl status)"
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user