Merge pull request #163 from ronivay/feat/drop-eol-os-support
feat: drop support for EOL OS's
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -1271,13 +1271,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
|
||||
|
||||
|
Reference in New Issue
Block a user