Vagrant

Installation

To get started with the vagrant provider, you need to install

Then, refer to the Getting Started section to install Enos.

Configuration

The provider relies on virtual machine sizes to group the wanted resources. For example the following is a valid resources description:

provider: vagrant

resources:
  medium:
    control: 1
    network: 1
  small:
    compute:1

The list of the sizes may be found here.

By default virtualbox will be used. See below to learn how to change the default virtualbox backend.

Use libvirt as the backend for Vagrant

Declaring your provider options as the following will spin up virtual machines using libvirt. Note that vagrant libvirt must be installed on your system.

provider:
  type: vagrant
  backend: libvirt

Default provider configuration

The provider comes with the following default options:

provider:
  type: vagrant
  backend: virtualbox
  box: debian/jessie64
  user: root

They can be overriden in the configuration file.