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:
Jason Hee authored and GitHub committed 2022-04-18 04:57:03 +08:00
1 parent 7beaeed0cd
commit 6fc75796a3
5 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ function setTimezone() {
function configureNTP() {
ubuntu_version="$(lsb_release -sr)"
if [[ $ubuntu_version == '20.04' ]]; then
if [[ $(bc -l <<< "${ubuntu_version} >= 20.04") -eq 1 ]]; then
sudo systemctl restart systemd-timesyncd
else
sudo apt-get update