Update VM import to use proper new syntax for virtualbox

This commit is contained in:
Mitchell Hashimoto 2010-04-23 23:56:03 -07:00
parent fa9c0aeeac
commit 50d81031b0
1 changed files with 1 additions and 1 deletions

View File

@ -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