Closed csi-lk closed 8 years ago
Tried again today and is working, must have been something weird on the virtualbox.org site, closing ticket
Getting the same issue today, so I cloned the script and skipped the check like a rebel! If this becomes a persistent problem, would you be comfortable with adding an environment variable to skip the MD5 check? Cheers!
Having the same issue, and have no idea how to modify the check. Does someone care to explain?
The method you want is check_md5
on line 43 of the the ievms.sh script; you need to remove the return 1
in the failure case:
check_md5() {
local md5
case $kernel in
Darwin) md5=`md5 "${1}" | rev | cut -c-32 | rev` ;;
Linux) md5=`md5sum "${1}" | cut -c-32` ;;
esac
if [ "${md5}" != "${2}" ]
then
log "MD5 check failed for ${1} (wanted ${2}, got ${md5})"
fi
log "MD5 check succeeded for ${1}"
}
The check will still fail, but it will at least permit the installation to continue.
@xdissent - I'm more than happy to do a pull request to make the check skippable by means of an environment variable, since this is a recurring problem. What are your thoughts on such functionality?
Experiencing this as well. It'd be nice to have a skip flag. In the meantime, here is James' fix:
curl -s https://gist.githubusercontent.com/corysimmons/62cce98d9931033bfc1bba27ce883d04/raw/d7748eb406eb07f6e7cdf3f0166399722c0b1104/ievms.sh | bash
Don't know if the md5 for ievms is wrong or the file from virtualbox.org has been corrupted
Full stacktrace