Improve NetBird installation

This commit is contained in:
dbildhauer committed 2026-09-27 20:19:34 +02:00
1 parent 5d50330988
commit 6857f83434
1 file changed
+17 -4
+17 -4
View File
@@ -4,17 +4,30 @@ set -e
echo "==> Installiere NetBird..." echo "==> Installiere NetBird..."
curl -fsSL https://pkgs.netbird.io/install.sh | sh if command -v netbird >/dev/null 2>&1; then
echo "NetBird ist bereits installiert."
exit 0
fi
TMP_SCRIPT="$(mktemp)"
curl -fsSL https://pkgs.netbird.io/install.sh -o "$TMP_SCRIPT"
chmod +x "$TMP_SCRIPT"
bash "$TMP_SCRIPT"
rm -f "$TMP_SCRIPT"
echo echo
echo "==============================================" echo "=============================================="
echo "NetBird wurde installiert." echo "NetBird wurde erfolgreich installiert."
echo echo
echo "Jetzt anmelden mit:" echo "Anmelden:"
echo echo
echo " netbird up" echo " netbird up"
echo echo
echo "Oder bei einem Self-Hosted-Server:" echo "Oder Self-Hosted:"
echo echo
echo " netbird up --management-url https://DEINE-DOMAIN" echo " netbird up --management-url https://DEINE-DOMAIN"
echo echo