From aff8864ec8d494df7dc4697f31bcbaa9d8b9f6c4 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Thu, 15 Jan 2026 17:39:43 +0000 Subject: [PATCH] Update silent-oauth-prod.sh --- Mac/silent-oauth-prod.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mac/silent-oauth-prod.sh b/Mac/silent-oauth-prod.sh index 909c250..e4a6783 100644 --- a/Mac/silent-oauth-prod.sh +++ b/Mac/silent-oauth-prod.sh @@ -209,8 +209,9 @@ else curl -s --request POST "$HOOKHELPER" -H "Content-Type: application/json; charset=UTF-8" -d '{"tailnet": "'"$TAILSCALENET"'", "apikey": "'"$TAILSCALEAPIKEY"'", "targetname": "'"$OLDTSUSER"'"}' fi sleep 1 - curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/logout-all.sh | bash + #curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/logout-all.sh | bash #runAsUser defaults delete com.tailscale.ipn.macsys AuthKey && killall cfprefsd + networksetup -setv6off Wi-Fi runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY?ephemeral=false&preauthorized=true" --hostname "$TSUSER" --advertise-tags=tag:$TSTAG --reset sleep 1 runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale set --hostname "$TSUSER"