scripts/installer: add PureOS and Amazon Linux Next

Fixes https://github.com/tailscale/tailscale/issues/7410

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
pull/7529/head
Denton Gentry 2 years ago committed by Denton Gentry
parent f0d6228c52
commit 047b324933

@ -119,6 +119,12 @@ main() {
VERSION="bionic" VERSION="bionic"
APT_KEY_TYPE="legacy" APT_KEY_TYPE="legacy"
;; ;;
pureos)
OS="debian"
PACKAGETYPE="apt"
VERSION="bullseye"
APT_KEY_TYPE="keyring"
;;
raspbian) raspbian)
OS="$ID" OS="$ID"
VERSION="$VERSION_CODENAME" VERSION="$VERSION_CODENAME"
@ -347,7 +353,9 @@ main() {
fi fi
;; ;;
amazon-linux) amazon-linux)
if [ "$VERSION" != "2" ] if [ "$VERSION" != "2" ] && \
[ "$VERSION" != "2022" ] && \
[ "$VERSION" != "2023" ]
then then
OS_UNSUPPORTED=1 OS_UNSUPPORTED=1
fi fi

Loading…
Cancel
Save