Fix vagrant package --base [GH-1615]

This commit is contained in:
Mitchell Hashimoto 2013-04-17 08:22:26 -07:00
parent 4a6939096c
commit 45267c85fe
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
## 1.2.2 (unreleased) ## 1.2.2 (unreleased)
BUG FIXES:
- `vagrant package --base` works again. [GH-1615]
## 1.2.1 (April 17, 2013) ## 1.2.1 (April 17, 2013)

View File

@ -54,8 +54,8 @@ module VagrantPlugins
provider = Vagrant.plugin("2").manager.providers[:virtualbox] provider = Vagrant.plugin("2").manager.providers[:virtualbox]
vm = Vagrant::Machine.new( vm = Vagrant::Machine.new(
options[:base], options[:base],
:virtualbox, provider, :virtualbox, provider[0], nil, provider[1],
nil, @env.config_global, @env.config_global,
nil, nil, nil, nil,
@env, true) @env, true)
@logger.debug("Packaging base VM: #{vm.name}") @logger.debug("Packaging base VM: #{vm.name}")