diff --git a/docs/docs/deploy/supported-platforms.md b/docs/docs/deploy/supported-platforms.md index ca48e0702..0ec99c1fa 100644 --- a/docs/docs/deploy/supported-platforms.md +++ b/docs/docs/deploy/supported-platforms.md @@ -30,6 +30,7 @@ Firezone currently supports the following platforms: | Fedora 35 | `amd64` `arm64` | **Fully-supported** | See [Fedora Notes](#fedora-notes) | | Ubuntu 18.04 | `amd64` `arm64` | **Fully-supported** | See [Ubuntu 18.04 Notes](#ubuntu-1804-notes) | | Ubuntu 20.04 | `amd64` `arm64` | **Fully-supported** | Works as-is | +| Ubuntu 22.04 | `amd64` `arm64` | **Fully-supported** | Works as-is | | openSUSE Leap 15.3 | `amd64` | **Fully-supported** | See [openSUSE Notes](#opensuse-notes) | diff --git a/scripts/install.sh b/scripts/install.sh index d8cd5df25..dcb98c8fb 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -105,9 +105,9 @@ mapReleaseToDistro() { image_sub_string="ubuntu1804-x64" elif [[ "$hostinfo" =~ .*"Ubuntu 18.04".* && "$hostinfo" =~ .*"arm64" ]]; then image_sub_string="ubuntu1804-arm64" - elif [[ "$hostinfo" =~ .*"Ubuntu 2"(0|1)".04".* && "$hostinfo" =~ .*"x86" ]]; then + elif [[ "$hostinfo" =~ .*"Ubuntu 2"(0|1|2)".04".* && "$hostinfo" =~ .*"x86" ]]; then image_sub_string="ubuntu2004-x64" - elif [[ "$hostinfo" =~ .*"Ubuntu 2"(0|1)".04".* && "$hostinfo" =~ .*"arm64" ]]; then + elif [[ "$hostinfo" =~ .*"Ubuntu 2"(0|1|2)".04".* && "$hostinfo" =~ .*"arm64" ]]; then image_sub_string="ubuntu2004-arm64" elif [[ "$hostinfo" =~ .*"CentOS Linux 7".* && "$hostinfo" =~ .*"x86" ]]; then image_sub_string="centos7-x64"