providers/hyperv: fix double-dot in drive name [GH-4318]

This commit is contained in:
Mitchell Hashimoto 2014-08-08 12:15:03 -07:00
parent 62561f2844
commit 2214591bef
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ module VagrantPlugins
env[:ui].detail("Cloning virtual hard drive...")
source_path = image_path.to_s
dest_path = env[:machine].data_dir.join("disk.#{image_ext}").to_s
dest_path = env[:machine].data_dir.join("disk#{image_ext}").to_s
FileUtils.cp(source_path, dest_path)
image_path = dest_path