Skip to content

Fix --hostname switch#4

Open
CiaranG wants to merge 1 commit intolugoues:mainfrom
CiaranG:pr-hostname
Open

Fix --hostname switch#4
CiaranG wants to merge 1 commit intolugoues:mainfrom
CiaranG:pr-hostname

Conversation

@CiaranG
Copy link

@CiaranG CiaranG commented Dec 16, 2025

This fixes a long-standing bug where using "--hostname x" (as opposed to "--hostname=x" resulted in duplication hostname switches being passed to the tailscale binary. Historically this bug has been masked by the fact that tailscale ignored all but the last of these, and the user-specified (non-default) one coincidentally got placed last. However, tailscale has recently started barfing on the duplicate switch so you could no longer use --hostname in the non-= form even though that's the form recommended in the documentation.

This fixes a long-standing bug where using "--hostname x" (as opposed
to "--hostname=x" resulted in duplication hostname switches being
passed to the tailscale binary. Historically this bug has been masked
by the fact that tailscale ignored all but the last of these, and the
user-specified (non-default) one coincidentally got placed last.
However, tailscale has recently started barfing on the duplicate switch
so you could no longer use --hostname in the non-= form even though that's
the form recommended in the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments