[GH-ISSUE #1104] Netbird up with --hostname flag doesn't set the hostname #1746

Open
opened 2026-08-05 00:43:47 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @clarkmcc on GitHub (Aug 23, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1104

Describe the problem
Unable to set the hostname when starting the netbird agent

To Reproduce
Steps to reproduce the behavior:

sudo netbird up --management-url="..." --setup-key=... --hostname=foobar

Additional context
As noted in Slack, the workaround is

sudo netbird login --management-url="..." --hostname my-peer --log-file console --setup-key=...
sudo netbird up
Originally created by @clarkmcc on GitHub (Aug 23, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1104 **Describe the problem** Unable to set the hostname when starting the netbird agent **To Reproduce** Steps to reproduce the behavior: ``` sudo netbird up --management-url="..." --setup-key=... --hostname=foobar ``` **Additional context** As noted [in Slack](https://netbirdio.slack.com/archives/C028VPB34NB/p1692808751596709), the workaround is 1. ``` sudo netbird login --management-url="..." --hostname my-peer --log-file console --setup-key=... ``` 2. ``` sudo netbird up ```
saavagebueno added the waiting-feedback label 2026-08-05 00:43:47 -04:00
Sign in to join this conversation.
No Label waiting-feedback
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1746