Solved bug with spaces in paths causing errors
This commit is contained in:
parent
e0949085a0
commit
52156d7c06
@ -13,7 +13,7 @@ module VagrantPlugins
|
||||
# Import the virtual machine
|
||||
ovf_file = env[:machine].box.directory.join("box.ovf").to_s
|
||||
if Vagrant::Util::Platform.cygwin?
|
||||
ovf_file = `cygpath -w #{ovf_file}`.chomp
|
||||
ovf_file = `cygpath -m '#{ovf_file}'`.chomp
|
||||
end
|
||||
env[:machine].id = env[:machine].provider.driver.import(ovf_file) do |progress|
|
||||
env[:ui].clear_line
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user