tailscale/paths
Brad Fitzpatrick 231f8b74e4 cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths
One of the current few steps to run Tailscale on gokrazy is to
specify the --tun=userspace-networking flag:

    https://gokrazy.org/userguide/install/tailscale/

Instead, make it the default for now. Later we can change the
default to kernel mode if available and fall back to userspace
mode like Synology, once #391 is done.

Likewise, set default paths for Gokrazy, as its filesystem hierarchy
is not the Linux standard one. Instead, use the conventional paths as
documented at https://gokrazy.org/userguide/install/tailscale/.

Updates #1866

RELNOTE=default to userspace-networking mode on gokrazy

Change-Id: I3766159a294738597b4b30629d2860312dbb7609
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit db85384f9c)
2022-03-08 13:54:13 -08:00
..
migrate.go ipn, paths: ensure that the state directory for Windows has the correct perms 2021-09-22 14:50:00 -06:00
paths_js.go paths: add missing js/wasm stub 2021-11-07 12:13:15 -08:00
paths_unix.go cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths 2022-03-08 13:54:13 -08:00
paths_windows.go all: gofmt -w -s (simplify) tests 2021-12-15 08:43:41 -08:00
paths.go cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths 2022-03-08 13:54:13 -08:00