Merge pull request #5085 from evverx/provision-with

Enable provision with --provision-with flag
This commit is contained in:
Mitchell Hashimoto 2015-01-05 11:45:10 -08:00
commit d482e0ca10
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ module VagrantPlugins
parser.on("--provision-with x,y,z", Array,
"Enable only certain provisioners, by type.") do |list|
options[:provision_types] = list.map { |type| type.to_sym }
options[:provision_enabled] = true
options[:provision_ignore_sentinel] = true
end
end