removes curl test.

This commit is contained in:
Hyatt 2020-08-31 08:41:00 -05:00
parent 917fe9325c
commit 4610606975
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -77,19 +77,12 @@ if [[ "\${DIP}" == "\${KIP}" ]]; then
exit 100
fi
printf '%s\n' "Checking connectivity (1 of 2)"
printf '%s\n' "Checking connectivity."
ping -c 2 google.com > /dev/null
if [[ "\${?}" != "0" ]]; then
printf '%s\n' "No internet connectivity."
exit 100
fi
printf '%s\n' "Checking connectivity (2 of 2)"
curl --silent --fail --insecure https://www.msftncsi.com/ncsi.txt > /dev/null
if [[ "\${?}" != "0" ]]; then
printf '%s\n' "No internet connectivity."
exit 100
fi
"""
def dockerfile = """FROM linuxserver/deluge:amd64-latest