diff --git a/plugins/commands/package/command.rb b/plugins/commands/package/command.rb index e1b7be59b..c93136f51 100644 --- a/plugins/commands/package/command.rb +++ b/plugins/commands/package/command.rb @@ -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