The following sections assume that you already have Packer, Vagrant and VirtualBox installed and available on your PATH. You can find the sources at rgl/ubuntu-vagrant, but read along to known more details. VirtualBox is used to actually run the Virtual Machine. Vagrant uses a Vagrantfile script to describe that process. Vagrant is used to automatically create and setup (or provision) a development environment inside a Virtual Machine. The template uses a preseed file to drive the Debian installer (aka d-i) to automatically install Ubuntu in a VirtualBox Virtual Machine, which will be later exported into a Vagrant box file. Packer uses a template file to describe that process. Packer is used to install Ubuntu into a Vagrant box file. This is because the mini ISO installs the latest packages right of the internet it is also much smaller than the regular ISO. I use the minimal ISO because the regular ISO does not always contains the latest package versions, so you’ll not end up having to update your system just right after you install it. This is my recipe on how to automatically create an up-to-date Ubuntu Vagrant box file from an iso.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |