From c74251a1d9c0fb315e59c3264ecdffb651b28a98 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 11 Mar 2013 15:46:26 -0700 Subject: [PATCH] FIx vagrant package --base to work again, wrong Machine args [GH-1410] --- plugins/commands/package/command.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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