[PR #701] Allow to create config file next to binary #2842

Open
opened 2025-11-20 08:04:09 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/701

State: closed
Merged: Yes


Describe your changes

Without you set the full path of the config file the Netbird can not
handle it. We check the path of the given config file's name and
if it is not contain a folder then skip the step to create a folder
for it.
You can place the config file next to the binary:
./netbird up --config myconfig.json

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/701 **State:** closed **Merged:** Yes --- ## Describe your changes Without you set the full path of the config file the Netbird can not handle it. We check the path of the given config file's name and if it is not contain a folder then skip the step to create a folder for it. You can place the config file next to the binary: **./netbird up --config myconfig.json** ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:04:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2842