Disable DNS in Netbird connection command in Warpgate setup script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user