There is a script which does all of this and more automatically:

https://github.com/avalonmediasystem/avalon-packer#usage



These are the instructions for creating an end-user VM from scratch.

VM Configuration

Base OS Install

There is a bug in VirtualBox with IPv6 handling over a bridged network.  When the bug is present the top transfer speeds for IPv6 are around 18kb/s.  Since RHEL (and derivatives) prefer IPv6 when looking up hosts, it is not uncommon to get an IPv6 host address for updates.  To disable IPv6 on the guest add these lines to /etc/sysctl.conf.  VirtualBox 4.2.12 was supposed to fix it but I'm not sure it has.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1


Avalon Install

Demo Content

VM Image Prep