HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

vagrant reload — Equivalent of running `halt` followed by `up`. A reload is usually required for changes in a Vagrant

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandvagrant reloadfollowedreloadhaltclirunningequivalent

Problem

How to use the vagrant reload command: Equivalent of running halt followed by up. A reload is usually required for changes in a Vagrantfile to take effect. See also: vagrant. More information: <https://developer.hashicorp.com/vagrant/docs/cli/reload>.

Solution

vagrant reload — Equivalent of running halt followed by up. A reload is usually required for changes in a Vagrantfile to take effect. See also: vagrant. More information: <https://developer.hashicorp.com/vagrant/docs/cli/reload>.

Reload the currently running machine:
vagrant reload


Target a machine by name or ID:
vagrant reload {{name|id}}


Force the provisioners to run:
vagrant reload --provision

Code Snippets

Reload the currently running machine

vagrant reload

Target a machine by name or ID

vagrant reload {{name|id}}

Force the provisioners to run

vagrant reload --provision

Context

tldr-pages: common/vagrant reload

Revisions (0)

No revisions yet.