Update VM import to use proper new syntax for virtualbox
This commit is contained in:
parent
fa9c0aeeac
commit
50d81031b0
|
@ -10,7 +10,7 @@ module Vagrant
|
||||||
logger.info "Importing base VM (#{@runner.env.box.ovf_file})..."
|
logger.info "Importing base VM (#{@runner.env.box.ovf_file})..."
|
||||||
# Use the first argument passed to the action
|
# Use the first argument passed to the action
|
||||||
@runner.vm = VirtualBox::VM.import(@runner.env.box.ovf_file) do |progress|
|
@runner.vm = VirtualBox::VM.import(@runner.env.box.ovf_file) do |progress|
|
||||||
update_progress(progress, 100, false)
|
update_progress(progress.percent, 100, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
complete_progress
|
complete_progress
|
||||||
|
|
Loading…
Reference in New Issue