Browse code

Use curl to download from github.com

Github recently removed some sslv3 ciphers - wget seems to only
enable a subset of the ciphers available so fails now, but curl
continues to succeed.

Use --no-sessionid to work around
https://bugzilla.redhat.com/show_bug.cgi?id=1098711

Change-Id: Ia110bd2d0a222e438189c10a9c1a236bd7ea3d0e

Bob Ball authored on 2014/06/24 19:15:50
Showing 1 changed files
... ...
@@ -70,7 +70,7 @@ if [ -e "$ISO_DIR" ]; then
70 70
 else
71 71
     echo "WARNING: no XenServer tools found, falling back to 5.6 tools"
72 72
     TOOLS_URL="https://github.com/downloads/citrix-openstack/warehouse/xe-guest-utilities_5.6.100-651_amd64.deb"
73
-    wget $TOOLS_URL -O $XS_TOOLS_FILE_NAME
73
+    curl --no-sessionid -L -o "$XS_TOOLS_FILE_NAME" $TOOLS_URL
74 74
     cp $XS_TOOLS_FILE_NAME "${STAGING_DIR}${XS_TOOLS_PATH}"
75 75
     rm -rf $XS_TOOLS_FILE_NAME
76 76
 fi