summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorAndrea Gottardo <andrea@tailscale.com>2025-01-17 14:52:47 -0800
committerGitHub <noreply@github.com>2025-01-17 14:52:47 -0800
commitc79b736a856b63adc76610a82e7080fc3a468f29 (patch)
tree21ed28b9740bfae44a1c83e2bd703bfac12ff5b9 /control/controlknobs
parent97a44d6453e83c966cfe109df77f9863830344ff (diff)
downloadtailscale-c79b736a856b63adc76610a82e7080fc3a468f29.tar.xz
tailscale-c79b736a856b63adc76610a82e7080fc3a468f29.zip
ipnlocal: allow overriding os.Hostname() via syspolicy (#14676)
Updates tailscale/corp#25936 This defines a new syspolicy 'Hostname' and allows an IT administrator to override the value we normally read from os.Hostname(). This is particularly useful on Android and iOS devices, where the hostname we get from the OS is really just the device model (a platform restriction to prevent fingerprinting). If we don't implement this, all devices on the customer's side will look like `google-pixel-7a-1`, `google-pixel-7a-2`, `google-pixel-7a-3`, etc. and it is not feasible for the customer to use the API or worse the admin console to manually fix these names. Apply code review comment by @nickkhyl Signed-off-by: Andrea Gottardo <andrea@gottardo.me> Co-authored-by: Nick Khyl <1761190+nickkhyl@users.noreply.github.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions