[PR #5870] Allow to install netbird in noninteractive way #28671

Open
opened 2026-08-05 08:06:44 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/5870
Author: @lkadalski
Created: 4/13/2026
Status: 🔄 Open

Base: mainHead: patch-2


📝 Commits (2)

  • 6198c66 Allow install netbird in noninteractive way
  • dd8f673 Update infrastructure_files/getting-started.sh

📊 Changes

1 file changed (+25 additions, -0 deletions)

View changed files

📝 infrastructure_files/getting-started.sh (+25 -0)

📄 Description

Add validation for NETBIRD environment variables

Describe your changes

This changes will allow to provision netbird in noninteractive way. Might be helpful in ansible environment.

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)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)
    It was working partially. Now default path may be provision without any terminal input.

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • New Features
    • The setup script now accepts environment variables (for reverse proxy type, enabling the proxy, and LetsEncrypt email), allowing fully non-interactive deployments. Provided values are validated; invalid values produce clear errors and cause the setup to exit. When valid values are present, interactive prompts are skipped and the provided settings are applied automatically.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/5870 **Author:** [@lkadalski](https://github.com/lkadalski) **Created:** 4/13/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (2) - [`6198c66`](https://github.com/netbirdio/netbird/commit/6198c6607c48bb9786b3558b36b30abb304d5d58) Allow install netbird in noninteractive way - [`dd8f673`](https://github.com/netbirdio/netbird/commit/dd8f6730b7d5a093e375c1ab2a2b760c4d32f5f6) Update infrastructure_files/getting-started.sh ### 📊 Changes **1 file changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `infrastructure_files/getting-started.sh` (+25 -0) </details> ### 📄 Description Add validation for NETBIRD environment variables ## Describe your changes This changes will allow to provision netbird in noninteractive way. Might be helpful in ansible environment. ### Checklist - [ ] 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) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) It was working partially. Now default path may be provision without any terminal input. ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * The setup script now accepts environment variables (for reverse proxy type, enabling the proxy, and LetsEncrypt email), allowing fully non-interactive deployments. Provided values are validated; invalid values produce clear errors and cause the setup to exit. When valid values are present, interactive prompts are skipped and the provided settings are applied automatically. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 08:06:44 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#28671