Tinkerbell.Sandbox/deploy/vagrant/basebox
Manuel Mendez 5eceec91ed box: make lists be multiline and with same line ending
Better for adding/removing things this way.

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
2021-04-27 20:05:49 +00:00
..
ubuntu1804 box: make lists be multiline and with same line ending 2021-04-27 20:05:49 +00:00
.gitignore Bootstrap Packer template for libvirt and Vbox 2021-02-04 10:27:19 +01:00
README.md nit pick 2021-02-04 15:22:23 +05:30

This directory contains a provisioning mechanism for the Vagrant boxes we ship as part of Sandbox.

In order to self contain and distribute the required dependencies for Tinkerbell and Sandbox without having to download all of them at runtime we decided to use Packer.io to build boxes that you can use when provisioning Tinkerbell on Vagrant.

Currently the generated boxes are available via Vagrant Cloud.


Build

To build the boxes checkout the right directory and run

$ packer build --parallel-builds=1 ./template.json

-parallel-builds=1 is required because the template builds images for multiple providers using the Vagrant builder and I didn't manage to get it to work in parallel yet.

Deploy to Vagrant Cloud

I didn't find a way to make the Vagrant Cloud post processor to work. But I use the vagrant cli vagrant cloud publish command.