Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[master] Only reload the vm if the driver is nil.

  • Loading branch information...
commit 66284c3460fbb085142f9a9b3c035d5f8e9e7259 1 parent 8591e21
@sbryant sbryant authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/vagrant/action/vm/import.rb
View
2  lib/vagrant/action/vm/import.rb
@@ -9,7 +9,7 @@ def initialize(app, env)
def call(env)
env[:ui].info I18n.t("vagrant.actions.vm.import.importing", :name => env[:vm].box.name)
- env.reload! if env[:vm].nil? # I have no idea why this is necessary, but it is.
+ env[:vm].reload! if env[:vm].driver.nil? # I have no idea why this is necessary, but it is.
# Import the virtual machine
ovf_file = env[:vm].box.directory.join("box.ovf").to_s
Please sign in to comment.
Something went wrong with that request. Please try again.