mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-28 19:13:10 +01:00
Add curl IPv6 timeout
To ensure script continue in case of no IPv6 DNS resolution - otherwise keeps waiting forever
This commit is contained in:
parent
fcccf8145e
commit
fcf4b0eb24
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
EXTERNAL_IPv4=$(curl -4 -s https://icanhazip.com)
|
EXTERNAL_IPv4=$(curl -4 -s https://icanhazip.com)
|
||||||
EXTERNAL_IPv6=$(curl -6 -s https://icanhazip.com || true)
|
EXTERNAL_IPv6=$(curl -6 -s -m 10 https://icanhazip.com || true)
|
||||||
|
|
||||||
greenlight=""
|
greenlight=""
|
||||||
while [[ ! $greenlight =~ ^(y|n)$ ]]; do
|
while [[ ! $greenlight =~ ^(y|n)$ ]]; do
|
||||||
|
Loading…
Reference in New Issue
Block a user