tell wget to use v4 first
authorWonko T. Sane <42@wonko.de>
Mon, 14 Mar 2016 18:27:54 +0000 (19:27 +0100)
committerWonko T. Sane <42@wonko.de>
Mon, 14 Mar 2016 18:27:54 +0000 (19:27 +0100)
bootstrap.sh

index de414dc..53152bd 100755 (executable)
@@ -7,7 +7,7 @@ PROXYURL="http://${HQSERVER}:8080/"
 if [ "$1" != "RUNME" ]; then
 
     #pull myself from git repo
-    wget "${GITPROJ}/raw/master/bootstrap.sh" -O /root/bootstrap.sh
+    wget --prefer-family=IPv4 "${GITPROJ}/raw/master/bootstrap.sh" -O /root/bootstrap.sh
     chmod u+x /root/bootstrap.sh
     exec /root/bootstrap.sh RUNME
     exit