vagrant/website/docs/source/v2/cli/up.html.md

1.1 KiB

page_title sidebar_current
vagrant up - Command-Line Interface cli-up

Up

Command: vagrant up

This command creates and configures guest machines according to your Vagrantfile.

This is the single most important command in Vagrant, since it is how any Vagrant machine is created. Anyone using Vagrant must use this command on a day-to-day basis.

Options

  • --[no-]destroy-on-error - Destroy the newly created machine if a fatal, unexpected error occurs. This will only happen on the first vagrant up. By default this is set.

  • --[no-]parallel - Bring multiple machines up in parallel if the provider supports it.

  • --provider x - Bring the machine up with the given provider. By default this is "virtualbox".

  • --provision - Force the provisioners to run.

  • --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.