diff --git a/lib/vagrant/util/file_checksum.rb b/lib/vagrant/util/file_checksum.rb index d25b36b1d..6a488d43b 100644 --- a/lib/vagrant/util/file_checksum.rb +++ b/lib/vagrant/util/file_checksum.rb @@ -26,7 +26,7 @@ class FileChecksum def checksum digest = @digest_klass.new - File.open(@path, "r") do |f| + File.open(@path, "rb") do |f| while !f.eof begin buf = f.readpartial(BUFFER_SIZE)