Update install script to support Ubuntu 22.04 (#733)

This commit is contained in:
Jamil
2022-06-18 10:52:46 -04:00
committed by GitHub
parent e6adc0fc92
commit f84df97c86
2 changed files with 3 additions and 2 deletions

View File

@@ -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) |
<!-- markdownlint-enable MD013 -->

View File

@@ -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"