mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
scripts/installer: add VMWare PhotonOS.
Fixes https://github.com/tailscale/tailscale/issues/7651 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
parent
74eb99aed1
commit
d5abdd915e
@ -255,6 +255,11 @@ main() {
|
|||||||
VERSION="bullseye"
|
VERSION="bullseye"
|
||||||
APT_KEY_TYPE="keyring"
|
APT_KEY_TYPE="keyring"
|
||||||
;;
|
;;
|
||||||
|
photon)
|
||||||
|
OS="photon"
|
||||||
|
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
|
||||||
|
PACKAGETYPE="tdnf"
|
||||||
|
;;
|
||||||
|
|
||||||
# TODO: wsl?
|
# TODO: wsl?
|
||||||
# TODO: synology? qnap?
|
# TODO: synology? qnap?
|
||||||
@ -345,6 +350,13 @@ main() {
|
|||||||
openbsd)
|
openbsd)
|
||||||
OS_UNSUPPORTED=1
|
OS_UNSUPPORTED=1
|
||||||
;;
|
;;
|
||||||
|
photon)
|
||||||
|
if [ "$VERSION" != "3" ] && \
|
||||||
|
[ "$VERSION" != "4" ]
|
||||||
|
then
|
||||||
|
OS_UNSUPPORTED=1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
macos)
|
macos)
|
||||||
# We delegate macOS installation to the app store, it will
|
# We delegate macOS installation to the app store, it will
|
||||||
# perform version checks for us.
|
# perform version checks for us.
|
||||||
@ -460,6 +472,13 @@ main() {
|
|||||||
$SUDO systemctl enable --now tailscaled
|
$SUDO systemctl enable --now tailscaled
|
||||||
set +x
|
set +x
|
||||||
;;
|
;;
|
||||||
|
tdnf)
|
||||||
|
set -x
|
||||||
|
curl -fsSL "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo" > /etc/yum.repos.d/tailscale.repo
|
||||||
|
$SUDO tdnf install -y tailscale
|
||||||
|
$SUDO systemctl enable --now tailscaled
|
||||||
|
set +x
|
||||||
|
;;
|
||||||
zypper)
|
zypper)
|
||||||
set -x
|
set -x
|
||||||
$SUDO zypper ar -g -r "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo"
|
$SUDO zypper ar -g -r "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo"
|
||||||
|
Loading…
Reference in New Issue
Block a user