mv / amazon-linux-2.virtualbox

Building Virtualbox machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon Linux 2 Virtuabox

To automate the creation of a Virtualbox virtual machine based on Amazon Linux 2 image latest release by AWS.

A Virtualbox vm enables the usage of Amazon Linux 2 locally with Vagrant. Vagrant is a command line tool that is able to work on top of Virtualbox, making the management of development environments very easy.

Because the Amazon Linux 2 released image is not an ISO file, but a VDI file, some work is needed to create a working Vagrant box.

1. VDI Import

Problem: to use a VDI is a in-place operation. Any modifications will alter the downloaded file. Erroneous modifications may not be reversable.

Solution:

2. Create a Vagrant Box

Problem 1: Vagrant needs a username/password as vagrant/vagrant Problem 2: Vagrant needs to compile a kernel module to enable shared folders

Solution:

3. Update a Vagrant Box

Problem: Every kernel update disables the previous shared folder module

Solution:

About

Building Virtualbox machines

License:MIT License


Languages

Language:Shell 66.7%Language:Ruby 33.3%