envknob, hostinfo, ipn/ipnlocal: add start of opt-in remote update support

Updates #6907

Change-Id: I85db4f6f831dd5ff7a9ef4bfa25902607e0c1558
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-01-21 10:04:43 -08:00
committed by Brad Fitzpatrick
parent b74db24149
commit b6aa1c1f22
7 changed files with 131 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ func New() *tailcfg.Hostinfo {
DeviceModel: deviceModel(),
Cloud: string(cloudenv.Get()),
NoLogsNoSupport: envknob.NoLogsNoSupport(),
AllowsUpdate: envknob.AllowsRemoteUpdate(),
}
}