1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 00:08:11 +00:00

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

This commit is contained in:
grossmj 2018-03-08 21:09:00 +07:00
parent 38f458db7c
commit 0bd7736460

View File

@ -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"