2013-09-03 18:08:28 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2013-09-06 16:50:43 +00:00
|
|
|
page_title: "vagrant reload - Command-Line Interface"
|
2013-09-03 18:08:28 +00:00
|
|
|
sidebar_current: "cli-reload"
|
2016-01-19 18:08:53 +00:00
|
|
|
description: |-
|
|
|
|
The "vagrant reload" command is the equivalent of running "vagrant halt"
|
|
|
|
followed by "vagrant up".
|
2013-09-03 18:08:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Reload
|
|
|
|
|
|
|
|
**Command: `vagrant reload`**
|
|
|
|
|
2016-01-19 18:08:53 +00:00
|
|
|
The equivalent of running a [halt](/docs/cli/halt.html) followed by an
|
|
|
|
[up](/docs/cli/up.html).
|
2013-09-03 18:08:28 +00:00
|
|
|
|
|
|
|
This command is usually required for changes made in the Vagrantfile to
|
|
|
|
take effect. After making any modifications to the Vagrantfile, a `reload`
|
|
|
|
should be called.
|
|
|
|
|
2013-09-06 16:50:43 +00:00
|
|
|
The configured provisioners will not run again, by default. You can force
|
|
|
|
the provisioners to re-run by specifying the `--provision` flag.
|
|
|
|
|
2013-09-03 18:08:28 +00:00
|
|
|
# Options
|
|
|
|
|
2013-09-06 16:50:43 +00:00
|
|
|
* `--provision` - Force the provisioners to run.
|
2013-09-03 18:08:28 +00:00
|
|
|
|
|
|
|
* `--provision-with x,y,z` - This will only run the given provisioners. For
|
|
|
|
example, if you have a `:shell` and `:chef_solo` provisioner and run
|
|
|
|
`vagrant provision --provision-with shell`, only the shell provisioner will
|
|
|
|
be run.
|