mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-05 09:03:12 -05:00
control,ipn: add Tailnet hint for device registration
Add an ipn.Prefs.Tailnet field, passed through controlclient.Options into tailcfg.RegisterRequest.Tailnet, so a client can recommend or require a tailnet at registration (e.g. to skip the tailnet picker when the intent is already known) without impersonating MDM. Previously this value could only come from the "Tailnet" syspolicy setting. That setting still takes precedence as an administrative override; the prefs value is used only when no policy is set. Updates #22093 Signed-off-by: Adriano Sela Aviles <adriano@tailscale.com>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f