kernel/v2: finalize the provisioner configs

This commit is contained in:
Mitchell Hashimoto 2014-02-03 22:28:41 +01:00
parent 59d257f832
commit feeaa69615
1 changed files with 5 additions and 0 deletions

View File

@ -360,6 +360,11 @@ module VagrantPlugins
@__compiled_provider_configs[name] = config @__compiled_provider_configs[name] = config
end end
# Finaliez all the provisioners
@provisioners.each do |p|
p.config.finalize! if !p.invalid?
end
@__synced_folders.each do |id, options| @__synced_folders.each do |id, options|
if options[:nfs] if options[:nfs]
options[:type] = :nfs options[:type] = :nfs