summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/cli%2Freload.html
blob: 4966cd62b91fe04ed88b9250ed2b7e8f16d31d92 (plain)
1
2
3
4
5
6
7
8
<h1 id="reload">  Reload </h1> <p><strong>Command: <code>vagrant reload [name|id]</code></strong></p> <p>The equivalent of running a <a href="halt">halt</a> followed by an <a href="up">up</a>.</p> <p>This command is usually required for changes made in the Vagrantfile to take effect. After making any modifications to the Vagrantfile, a <code>reload</code> should be called.</p> <p>The configured provisioners will not run again, by default. You can force the provisioners to re-run by specifying the <code>--provision</code> flag.</p> <h1 id="options">  Options </h1> <ul> <li>
<p><a href="#provision"><code>--provision</code></a> - Force the provisioners to run.</p> </li> <li>
<p><a href="#provision-with-x-y-z"><code>--provision-with x,y,z</code></a> - This will only run the given provisioners. For example, if you have a <code>:shell</code> and <code>:chef_solo</code> provisioner and run <code>vagrant reload --provision-with shell</code>, only the shell provisioner will be run.</p> </li> </ul><div class="_attribution">
  <p class="_attribution-p">
    &copy; 2010&ndash;2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
    <a href="https://www.vagrantup.com/docs/cli/reload.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/reload.html</a>
  </p>
</div>