FIx vagrant package --base to work again, wrong Machine args [GH-1410]
This commit is contained in:
parent
fc95944631
commit
c74251a1d9
|
@ -52,7 +52,12 @@ module VagrantPlugins
|
|||
# better in the future. We just hardcode this to keep VirtualBox working
|
||||
# for now.
|
||||
provider = Vagrant.plugin("2").manager.providers[:virtualbox]
|
||||
vm = Vagrant::Machine.new(options[:base], provider, @env.config.global, nil, @env, true)
|
||||
vm = Vagrant::Machine.new(
|
||||
options[:base],
|
||||
:virtualbox, provider,
|
||||
nil, @env.config_global,
|
||||
nil, nil,
|
||||
@env, true)
|
||||
@logger.debug("Packaging base VM: #{vm.name}")
|
||||
package_vm(vm, options)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue