summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/cli%2Fhalt.html
blob: 44eda70150717c23b4a4769eb9178a7fcb33959a (plain)
1
2
3
4
5
6
7
<h1 id="halt">  Halt </h1> <p><strong>Command: <code>vagrant halt [name|id]</code></strong></p> <p>This command shuts down the running machine Vagrant is managing.</p> <p>Vagrant will first attempt to gracefully shut down the machine by running the guest OS shutdown mechanism. If this fails, or if the <code>--force</code> flag is specified, Vagrant will effectively just shut off power to the machine.</p> <p>For linux-based guests, Vagrant uses the <code>shutdown</code> command to gracefully terminate the machine. Due to the varying nature of operating systems, the <code>shutdown</code> command may exist at many different locations in the guest's <code>$PATH</code>. It is the guest machine's responsibility to properly populate the <code>$PATH</code> with directory containing the <code>shutdown</code> command.</p> <h2 id="options">  Options </h2> <ul> <li>
<a href="#f"><code>-f</code></a> or <code>--force</code> - Do not attempt to gracefully shut down the machine. This effectively pulls the power on the guest machine. </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/halt.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/halt.html</a>
  </p>
</div>