-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Hostname changes are not reflected #2140
Comments
Having the same issue. restarting both node and server does not help. |
@msarsha It would probably be in this function: https://github.com/juanfont/headscale/blob/main/hscontrol/poll.go#L454 You probably want to look at the logic in Rename node to ensure there is no collision, I have not had too much time to think about this yet, but will look closer if you post a PR. If you dont have time, let me know and I'll look at it later. |
…ated in HostInfo
* juanfont#2140 Fixed updating of hostname and givenName when it is updated in HostInfo * juanfont#2140 Added integration tests * juanfont#2140 Fix unit tests * Changed IsAutomaticNameMode to GivenNameHasBeenChanged. Fixed errors in files according to golangci-lint rules
Is this a support request?
Is there an existing issue for this?
Current Behavior
Changing the hostname of a node is not reflected on headscale.
Using
tailscale set --hostname hello
still keeps the hostname that the node originally came with.Expected Behavior
Changing the hostname of a node on the node itself should reflect it on the node list in headscale.
This is the current behavior with 0.22.3.
Steps To Reproduce
tailscale set --hostname something
. On mobile, it is located in the settings of the app.Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: