From 50d81031b0d26ac29d75980dacf61a6d86638eb3 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 23 Apr 2010 23:56:03 -0700 Subject: [PATCH] Update VM import to use proper new syntax for virtualbox --- lib/vagrant/actions/vm/import.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/actions/vm/import.rb b/lib/vagrant/actions/vm/import.rb index 3d3eda02c..49f2e98d6 100644 --- a/lib/vagrant/actions/vm/import.rb +++ b/lib/vagrant/actions/vm/import.rb @@ -10,7 +10,7 @@ module Vagrant logger.info "Importing base VM (#{@runner.env.box.ovf_file})..." # Use the first argument passed to the action @runner.vm = VirtualBox::VM.import(@runner.env.box.ovf_file) do |progress| - update_progress(progress, 100, false) + update_progress(progress.percent, 100, false) end complete_progress