kernel/v2: provider configs do proper merge logic for config
This commit is contained in:
parent
8171471628
commit
bad6537e86
|
@ -383,7 +383,9 @@ module VagrantPlugins
|
|||
|
||||
begin
|
||||
blocks.each do |b|
|
||||
b.call(config, Vagrant::Config::V2::DummyConfig.new)
|
||||
new_config = config_class.new
|
||||
b.call(new_config, Vagrant::Config::V2::DummyConfig.new)
|
||||
config = config.merge(new_config)
|
||||
end
|
||||
rescue Exception => e
|
||||
raise Vagrant::Errors::VagrantfileLoadError,
|
||||
|
|
Loading…
Reference in New Issue