scripts/installer: add PureOS and Amazon Linux Next

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

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry 2023-03-01 14:05:53 -08:00 committed by Denton Gentry
parent f0d6228c52
commit 047b324933

View File

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