Vagrant Instance Operations

From NovaOrdis Knowledge Base
Revision as of 19:24, 17 November 2019 by Ovidiu (talk | contribs) (Created page with "=Internal= * Vagrant Operations =Overview= =Instance Operations= ==up== {{External|https://www.vagrantup.com/docs/cli/up.html}} T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Instance Operations

up

https://www.vagrantup.com/docs/cli/up.html

This is the essential Vagrant command. It starts and provision the vagrant environment:

vagrant up

The backing Vagrantfile can be written in such a way that bringing the machine up creates a ~/.ssh/dev/vagranthostname configuration that can be used by ssh to connect directly. This is an example of how to achieve this: Describe the VM in a Vagrantfile.