mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-08 16:26:25 -04:00
FIx vagrant package --base to work again, wrong Machine args [GH-1410]
This commit is contained in:
parent
fc95944631
commit
c74251a1d9
1 changed files with 6 additions and 1 deletions
|
|
@ -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 a new issue