Make sure we use an IPv4 address in the remote install script.

pull/1316/head
grossmj 6 years ago
parent 38f458db7c
commit 0bd7736460

@ -310,7 +310,7 @@ apt-get install -y \
dnsutils \
nginx-light
MY_IP_ADDR=$(dig @ns1.google.com -t txt o-o.myaddr.l.google.com +short | sed 's/"//g')
MY_IP_ADDR=$(dig @ns1.google.com -t txt o-o.myaddr.l.google.com +short -4 | sed 's/"//g')
log "IP detected: $MY_IP_ADDR"

Loading…
Cancel
Save