From 2214591bef89b87e045545a136e1ae3fd9444ad9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 8 Aug 2014 12:15:03 -0700 Subject: [PATCH] providers/hyperv: fix double-dot in drive name [GH-4318] --- plugins/providers/hyperv/action/import.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/hyperv/action/import.rb b/plugins/providers/hyperv/action/import.rb index 72a05d461..0687503af 100644 --- a/plugins/providers/hyperv/action/import.rb +++ b/plugins/providers/hyperv/action/import.rb @@ -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