mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Make sure we use an IPv4 address in the remote install script.
This commit is contained in:
parent
38f458db7c
commit
0bd7736460
@ -310,7 +310,7 @@ apt-get install -y \
|
|||||||
dnsutils \
|
dnsutils \
|
||||||
nginx-light
|
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"
|
log "IP detected: $MY_IP_ADDR"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user