Client install script not working on system without sudo #456

Closed
opened 2025-11-20 05:11:41 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @stevendbrady on GitHub (Sep 26, 2023).

Describe the problem
The sudo command is not present on the Proxmox Virtual Environment. When apt is detected, it's assumed sudo is also present so all commands containing it fail.

To Reproduce
Steps to reproduce the behavior:

Expected behavior

  • Check for presence of sudo, if not present make sure running as root, then install without using sudo command.
Originally created by @stevendbrady on GitHub (Sep 26, 2023). **Describe the problem** The sudo command is not present on the Proxmox Virtual Environment. When apt is detected, it's assumed sudo is also present so all commands containing it fail. **To Reproduce** Steps to reproduce the behavior: - Run the script on the website: curl -fsSL https://pkgs.netbird.io/install.sh | sh **Expected behavior** - Check for presence of sudo, if not present make sure running as root, then install without using sudo command.
Author
Owner

@mlsmaycon commented on GitHub (Feb 22, 2024):

fixed on #1176

@mlsmaycon commented on GitHub (Feb 22, 2024): fixed on #1176
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#456