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
This commit is contained in:
parent
4fcda870e6
commit
8230296ec3
@ -70,7 +70,7 @@ if [ -e "$ISO_DIR" ]; then
|
|||||||
else
|
else
|
||||||
echo "WARNING: no XenServer tools found, falling back to 5.6 tools"
|
echo "WARNING: no XenServer tools found, falling back to 5.6 tools"
|
||||||
TOOLS_URL="https://github.com/downloads/citrix-openstack/warehouse/xe-guest-utilities_5.6.100-651_amd64.deb"
|
TOOLS_URL="https://github.com/downloads/citrix-openstack/warehouse/xe-guest-utilities_5.6.100-651_amd64.deb"
|
||||||
wget $TOOLS_URL -O $XS_TOOLS_FILE_NAME
|
curl --no-sessionid -L -o "$XS_TOOLS_FILE_NAME" $TOOLS_URL
|
||||||
cp $XS_TOOLS_FILE_NAME "${STAGING_DIR}${XS_TOOLS_PATH}"
|
cp $XS_TOOLS_FILE_NAME "${STAGING_DIR}${XS_TOOLS_PATH}"
|
||||||
rm -rf $XS_TOOLS_FILE_NAME
|
rm -rf $XS_TOOLS_FILE_NAME
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user