scripts/installer: add Centos Stream 9 support (#3818)

Blocked on package server support being deployed

Signed-off-by: Xe <xe@tailscale.com>
This commit is contained in:
Xe Iaso 2022-01-26 10:49:32 -05:00 committed by GitHub
parent 7a18fe3dca
commit ae525a7394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -142,7 +142,7 @@ main() {
VERSION="tumbleweed"
PACKAGETYPE="zypper"
;;
arch)
arch)
OS="$ID"
VERSION="" # rolling release
PACKAGETYPE="pacman"
@ -250,7 +250,8 @@ main() {
;;
centos)
if [ "$VERSION" != "7" ] && \
[ "$VERSION" != "8" ]
[ "$VERSION" != "8" ] && \
[ "$VERSION" != "9" ]
then
OS_UNSUPPORTED=1
fi