A Packer config and setup scripts for building a Vagrant Ubuntu18.04 box
- Vagrant - https://www.vagrantup.com/docs/installation/
- Packer - https://www.packer.io/intro/getting-started/install.html
packer build packer_ubuntu18_04.json
vagrant box add ubuntu18_04 build/ubuntu18_04.box
You can use vagrant cloud to install the latest version without having to build the box file manually, all you have to do is add the following line to your Vagrantfile.
config.vm.box = "RG1BB5/ubuntu18_04"
Or you can initialiaze it using the Vagrant init command.
vagrant init RG1BB5/ubuntu18_04 --box-version 0.0.1
vagrant box remove ubuntu18_04
Example Vagrantfile can be found in the example directory.