mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-07 08:07:42 +00:00
cmd/tailscale: add tailnet info to status output
Updates #14375 Change-Id: Ia101a4a3005adb9118051b3416f5a64a4a45987d Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
parent
716cb37256
commit
2bfaa4a287
@ -231,6 +231,12 @@ func runStatus(ctx context.Context, args []string) error {
|
||||
outln()
|
||||
printf("# To see the full list of exit nodes, including location-based exit nodes, run `tailscale exit-node list` \n")
|
||||
}
|
||||
|
||||
outln()
|
||||
printf("# Tailnet:\n")
|
||||
printf("# - Name: %s\n", st.CurrentTailnet.Name)
|
||||
printf("# - MagicDNS Suffix: %s\n", st.CurrentTailnet.MagicDNSSuffix)
|
||||
|
||||
if len(st.Health) > 0 {
|
||||
outln()
|
||||
printHealth()
|
||||
|
Loading…
x
Reference in New Issue
Block a user