hosts/*: fix virtualbox install exception [GH-6713]

This commit is contained in:
Mitchell Hashimoto 2015-12-24 12:08:31 -08:00
parent aba23205f7
commit 05c2d439ac
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
BUG FIXES:
- core: Fix exception on installing VirtualBox [GH-6713]
- guests/debian: Fix Docker install [GH-6722]
- provisioners/chef: convert chef version to a string before comparing for
the command builder [GH-6709, GH-6711]

View File

@ -32,7 +32,7 @@ module VagrantPlugins
dl.download!
# Validate that the file checksum matches
actual = Vagrant::Util::FileChecksum.new(tf.path, Digest::SHA2).checksum
actual = FileChecksum.new(tf.path, Digest::SHA2).checksum
if actual != SHA256SUM
raise Vagrant::Errors::ProviderChecksumMismatch,
provider: "virtualbox",

View File

@ -33,7 +33,7 @@ module VagrantPlugins
dl.download!
# Validate that the file checksum matches
actual = Vagrant::Util::FileChecksum.new(tf.path, Digest::SHA2).checksum
actual = FileChecksum.new(tf.path, Digest::SHA2).checksum
if actual != SHA256SUM
raise Vagrant::Errors::ProviderChecksumMismatch,
provider: "virtualbox",