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
Joonas Kuorilehto 6562f4c6c7 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>
(cherry picked from commit c1b3500a05)
4 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 5 years ago
cloner tailcfg: make Node.Hostinfo a HostinfoView 4 years ago
derper cmd/derper: fix regression from bootstrap DNS optimization 4 years ago
derpprobe cmd/derpprobe: check derper TLS certs too 4 years ago
hello tailcfg: make Node.Hostinfo a HostinfoView 4 years ago
mkpkg cmd/mkpkg: allow zero files in a package. 5 years ago
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 4 years ago
speedtest cmd: upgrade to ffcli v3 4 years ago
tailscale cmd/tailscale: allow use of flags in gokrazy 4 years ago
tailscaled cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths 4 years ago
testcontrol cmd/testcontrol: add test control server 4 years ago
tsshd tsshd: fix double exit with different exit codes 4 years ago