Creating Custom ExoGENI Images using Virtual Box

This post describes how to create a custom ExoGENI image using Virtual Box.  Note that these instructions can be used to create custom ExoGENI images from many other types of machines (virtual and otherwise).


We will be using the ExoGENI image snapshot mechanism described in a previous post. These instructions assume you have read the previous post and are familiar with the procedure it describes.

Creating a Virtual Box VM:

Virtual Box is a free open source application for running virtual machines.  Typically Virtual Box is used to run virtual machines on a desktop or laptop.

1.  Download the Virtual Box software.  Follow the instructions for installing Virtual Box on your machine.

2.  Download the installation ISO for your favorite Linux distribution (OR obtain a Virtual Box compatible image).

3.  Use Virtual Box to create a new virtual machine from your Linux ISO (OR import your existing image into Virtual Box)

Creating the ExoGENI image:

1.  Install the NEuca tools. The tools are available as an .rpm, .deb, or source.

Prepare the VM for the NEuca guest tools.  The NEuca tools depend on several python packages and the iSCSI tools which will need to be installed before the guest tools.  Also, you will need to install ssh to be able to access the VM after it boots on ExoGENI.


> sudo apt-get install python python-boto python-daemon python-ipaddr python-netaddr open-iscsi python-lockfile ssh

Get and install the NEuca guest tools:

> wget
> dpkg -i neuca-guest-tools_1.4.1_all.deb


> rpm -Uvh
> yum install python python-devel python-boto python-daemon python-ipaddr python-netaddr

Get and install the NEuca guest tools:

> wget
> rpm -ivh neuca-guest-tools-1.4-1.noarch.rpm

2.  The remainder of the instructions are the same as capturing an image from the previous post (starting at step “3. Get the snapshot script”).

Things that might go wrong:

1.   You need to allow root to login with keys.

In /etc/ssh/sshd_config, add to or modify the file to include the line:

PermitRootLogin without-password

And you must disable selinux.  Modify /etc/selinux/config to include the line:


Have something to add?

Loading Facebook Comments ...