JumpBox packages open source applications as appliances. Since I wanted to see what they are all about, I downloaded one of them.
After unpacking, the first roadblock is that the appliance doesn’t come with any config file for libvirt - JumpBox includes a Xen config file, but I wanted to run the appliance under kvm.
This is easily fixed by writing a simple image.xml descriptor that is used with virt-image to create the virtual machine.
There is one more hurdle to overcome: the raw data disk in the downloaded appliance is corrupt. That is thanks to qemu-img
easy to overcome: simply convert the included VHD disk to RAW.
With that, running a JumpBox under kvm consists of these steps:
As an additional benefit, the image.xml
will let you create a virtual machine under Xen without any changes.
The necessary tools are all part of the python-virtinst
package on Fedora. The website for them is here
Watzmann.Blog by David Lutterkort is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.
Generated with Jekyll