tailscale/hostinfo
Brad Fitzpatrick 6b71568eb7 util/cloudenv: add Azure support & DNS IPs
And rewrite cloud detection to try to do only zero or one metadata
discovery request for all clouds, only doing a first (or second) as
confidence increases. Work remains for Windows, but a start.

And add Cloud to tailcfg.Hostinfo, which helped with testing using
"tailcfg debug hostinfo".

Updates #4983 (Linux only)
Updates #4984

Change-Id: Ib03337089122ce0cb38c34f724ba4b4812bc614e
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-06-30 17:03:46 -07:00
..
hostinfo_darwin.go hostinfo: move packageType out to platform-specific files 2022-02-22 10:23:13 -08:00
hostinfo_freebsd.go hostinfo: use ByteSliceToString from golang.org/x/sys/unix 2022-06-01 07:43:44 -07:00
hostinfo_linux.go hostinfo,distro: Identify Western Digital MyCloud devices. 2022-06-05 08:22:42 -07:00
hostinfo_test.go hostinfo, control/controlclient: tell control when Ubuntu has disabled Tailscale's sources 2021-11-10 09:56:58 -08:00
hostinfo_windows.go hostinfo: use the sentinel value set by the MSI installer to detect MSI package type 2022-02-22 12:48:20 -07:00
hostinfo.go util/cloudenv: add Azure support & DNS IPs 2022-06-30 17:03:46 -07:00