Disable DNS in Netbird connection command in Warpgate setup script

This commit is contained in:
2026-02-15 15:54:30 +03:00
parent ecdea1376b
commit bf69ff191e

View File

@@ -80,7 +80,7 @@ echo ">>> Connecting Netbird..."
# Проверяем статус. Если не подключен — подключаем.
if ! netbird status | grep -q "Connected"; then
if [ -n "$NETBIRD_SETUP_KEY" ] && [ "$NETBIRD_SETUP_KEY" != "YOUR_NETBIRD_SETUP_KEY_HERE" ]; then
netbird up --management-url "$NETBIRD_MANAGEMENT_URL" https://webway.shamanlanding.org:443 --setup-key "$NETBIRD_SETUP_KEY" --allow-server-ssh --enable-ssh-root
netbird up --management-url "$NETBIRD_MANAGEMENT_URL" https://webway.shamanlanding.org:443 --setup-key "$NETBIRD_SETUP_KEY" --disable-dns --allow-server-ssh --enable-ssh-root
else
echo "WARNING: Netbird Setup Key not set. Run manual setup later."
fi