mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18: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 \
|
||||
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…
Reference in New Issue
Block a user