Sha256: 1b4eccdfb23d98150b7afcd6e9a1e4878402ea08d208ab7c6d87594fc22520c8

Contents?: true

Size: 1.04 KB

Versions: 31

Compression:

Stored size: 1.04 KB

Contents

# Vagrant Libvirt Example Box

Vagrant providers each require a custom provider-specific box format.
This folder shows the example contents of a box for the `libvirt` provider.
To turn this into a box create a vagrant image according documentation (don't
forget to install rsync command) and create box with following command:

```
$ tar cvzf custom_box.box ./metadata.json ./Vagrantfile ./box.img
```

This box works by using Vagrant's built-in Vagrantfile merging to setup
defaults for Libvirt. These defaults can easily be overwritten by higher-level
Vagrantfiles (such as project root Vagrantfiles).

## Box Metadata

Libvirt box should define at least three data fields in `metadata.json` file.

* provider - Provider name is libvirt.
* format - Currently supported format is qcow2.
* virtual_size - Virtual size of image in GBytes.

## Converting Boxes

Instead of creating a box from scratch, you can use 
[vagrant-mutate](https://github.com/sciurus/vagrant-mutate) 
to take boxes created for other Vagrant providers and use them 
with vagrant-libvirt.

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
vagrant-libvirt-0.0.45 example_box/README.md
vagrant-libvirt-0.0.43 example_box/README.md
vagrant-libvirt-0.0.42 example_box/README.md
vagrant-libvirt-0.0.40 example_box/README.md
vagrant-libvirt-0.0.39 example_box/README.md
vagrant-libvirt-0.0.38 example_box/README.md
vagrant-libvirt-0.0.37 example_box/README.md
vagrant-libvirt-0.0.36 example_box/README.md
vagrant-libvirt-0.0.35 example_box/README.md
vagrant-libvirt-0.0.33 example_box/README.md
vagrant-libvirt-0.0.32 example_box/README.md
vagrant-libvirt-0.0.31 example_box/README.md
vagrant-libvirt-0.0.30 example_box/README.md
vagrant-libvirt-0.0.29 example_box/README.md
vagrant-libvirt-0.0.28 example_box/README.md
vagrant-libvirt-0.0.27 example_box/README.md
vagrant-libvirt-0.0.26 example_box/README.md
vagrant-libvirt-0.0.25 example_box/README.md
vagrant-libvirt-0.0.24 example_box/README.md
vagrant-libvirt-0.0.23 example_box/README.md