From 2f3fb3178f430552ef593477c9bc3074025dffe0 Mon Sep 17 00:00:00 2001 From: Ankit R Gadiya Date: Tue, 14 Jan 2025 12:52:56 +0530 Subject: [PATCH] feat(vpn): support tailscale's fast user switching The `rio vpn connect` command previously forced authentication on each use, causing other Tailscale accounts to be lost. Now, the command uses `tailscale login` with the `rio` nickname, retaining other Tailscale accounts while simplifying user switching. --- riocli/vpn/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riocli/vpn/connect.py b/riocli/vpn/connect.py index 3b686c3a..a21b2d27 100644 --- a/riocli/vpn/connect.py +++ b/riocli/vpn/connect.py @@ -35,7 +35,7 @@ ) _TAILSCALE_CMD_FORMAT = ( - "tailscale up --auth-key={} --login-server={} --reset --force-reauth " + "tailscale login --auth-key={} --login-server={} --nickname rio " "--accept-routes --accept-dns --advertise-tags={} --timeout=30s" )