Provisioning - Getting Started - Vagrant by HashiCorp
After everything is configured, just run vagrant up
to create your machine and Vagrant will automatically provision it. You should see the output from the shell script appear in your terminal. If the guest machine is already running from a previous step, run vagrant reload --provision
, which will quickly restart your virtual machine, skipping the initial import step. The provision flag on the reload command instructs Vagrant to run the provisioners, since usually Vagrant will only do this on the first vagrant up
.
Read full article from Provisioning - Getting Started - Vagrant by HashiCorp
No comments:
Post a Comment