From 3d0fb815e837f72960c0b4c66da339af1c3d0a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Mon, 15 May 2023 10:16:15 +0300 Subject: [PATCH] chore: remove ubuntu 18 support End of support in 6/2023. node.js 18.x not supported in nodesource repo --- README.md | 1 - xo-install.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 704e826..7eaa4b9 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,6 @@ Supported Linux distributions and versions: - Debian 10 - Ubuntu 22.04 - Ubuntu 20.04 -- Ubuntu 18.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 a318095..07f7876 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -1289,8 +1289,8 @@ function CheckOS { exit 1 fi - if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(18|20|22)$ ]]; then - printfail "Only Ubuntu 18/20/22 supported" + if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(20|22)$ ]]; then + printfail "Only Ubuntu 20/22 supported" exit 1 fi