» Provision
Command: vagrant provision [vm-name]
Runs any configured provisionersagainst the running Vagrant managed machine.
This command is a great way to quickly test any provisioners, and is especiallyuseful for incremental development of shell scripts, Chef cookbooks, or Puppetmodules. You can just make simple modifications to the provisioning scriptson your machine, run a vagrant provision
, and check for the desired results.Rinse and repeat.
» Options
—provision-with x,y,z
- This will only run the given provisioners. Forexample, if you have a:shell
and:chef_solo
provisioner and runvagrant provision —provision-with shell
, only the shell provisioner willbe run.
当前内容版权归 vagrantup.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 vagrantup.com .