mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-12 08:04:25 +08:00
Update nm-quick-interactive.sh
ifconfig.me is 403 on the hetzner network When trying to get IP i recevied a 403 from ifconfig.me when using hetzner cloud
This commit is contained in:
parent
e8fbe18bca
commit
1d46314827
1 changed files with 2 additions and 2 deletions
|
@ -184,9 +184,9 @@ wait_seconds 3
|
|||
|
||||
set -e
|
||||
|
||||
NETMAKER_BASE_DOMAIN=nm.$(curl -s ifconfig.me | tr . -).nip.io
|
||||
NETMAKER_BASE_DOMAIN=nm.$(dig myip.opendns.com @resolver1.opendns.com +short | tr . -).nip.io
|
||||
COREDNS_IP=$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')
|
||||
SERVER_PUBLIC_IP=$(curl -s ifconfig.me)
|
||||
SERVER_PUBLIC_IP=$(dig myip.opendns.com @resolver1.opendns.com +short)
|
||||
MASTER_KEY=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 30 ; echo '')
|
||||
MQ_PASSWORD=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 30 ; echo '')
|
||||
DOMAIN_TYPE=""
|
||||
|
|
Loading…
Add table
Reference in a new issue