diff --git a/README.md b/README.md index 3a74d8c..47a8dad 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,9 @@ Supported Linux distributions and versions: - Rocky Linux 8 - Debian 11 - Debian 10 -- Debian 9 -- Debian 8 - Ubuntu 22.04 - Ubuntu 20.04 - Ubuntu 18.04 -- Ubuntu 16.04 Only x86_64 architecture is supported. For all those raspberry pi users out there, check [container](https://hub.docker.com/r/ronivay/xen-orchestra) instead. diff --git a/xo-install.sh b/xo-install.sh index cb2c2bf..3e9d6f3 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -1278,13 +1278,13 @@ function CheckOS { exit 1 fi - if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(8|9|10|11)$ ]]; then - printfail "Only Debian 8/9/10/11 supported" + if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11)$ ]]; then + printfail "Only Debian 10/11 supported" exit 1 fi - if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(16|18|20|22)$ ]]; then - printfail "Only Ubuntu 16/18/20/22 supported" + if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(18|20|22)$ ]]; then + printfail "Only Ubuntu 18/20/22 supported" exit 1 fi