You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscale/cli
Joonas Kuorilehto c1b3500a05 cmd/tailscale: allow use of flags in gokrazy
Enable use of command line arguments with tailscale cli on gokrazy. Before
this change using arguments like "up" would cause tailscale cli to be
repeatedly restarted by gokrazy process supervisor.

We never want to have gokrazy restart tailscale cli, even if user would
manually start the process.

Expected usage is that user creates files:

flags/tailscale.com/cmd/tailscale/flags.txt:

    up

flags/tailscale.com/cmd/tailscaled/flags.txt:

    --statedir=/perm/tailscaled/
    --tun=userspace-networking

Then tailscale prints URL for user to log in with browser.

Alternatively it should be possible to use up with auth key to allow
unattended gokrazy installs.

Signed-off-by: Joonas Kuorilehto <joneskoo@derbian.fi>
2 years ago
..
auth-redirect.html cmd/tailscale/web: add support for QNAP 3 years ago
bugreport.go cmd/tailscale/cli: add Stdout, Stderr and output through them 3 years ago
cert.go cmd/tailscale: propagate tailscaled 403s as AccessDeniedErrors 2 years ago
cli.go cmd/tailscale: allow use of flags in gokrazy 2 years ago
cli_test.go cmd/tailscale: rewrite --authkey to --auth-key 2 years ago
configure-host.go cmd/tailscale: make configure-host on Synology also add CAP_NET_RAW 2 years ago
debug.go cmd/tailscale: add "tailscale debug hostinfo" subcommand 2 years ago
diag.go cmd/tailscale: print more detail in connection failure error message 3 years ago
diag_other.go all: gofmt with Go 1.17 3 years ago
down.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
file.go cmd/tailscale: propagate tailscaled 403s as AccessDeniedErrors 2 years ago
ip.go cmd/tailscale: add ip -1 flag 3 years ago
logout.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
netcheck.go envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2 years ago
ping.go cmd/tailscale: improve ping error message when logged out 3 years ago
status.go cmd/tailscale: improve ping error message when logged out 3 years ago
up.go cmd/tailscale: rewrite --authkey to --auth-key 2 years ago
version.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
web.css cli: web advertise exit node button 3 years ago
web.go cmd/tailscale: use html/template for synoTokenRedirect 2 years ago
web.html cli: web advertise exit node button 3 years ago
web_test.go cmd/tailscale: update web server test copyright 3 years ago