import2vbox: import cloud images or any disk image in virtualbox / vmWare
Hi,
I needed this for Vagrant but I tought it might be useful for others.
https://github.com/EmmanuelKasper/import2vbox
Suppose you created a disk image jessie.raw with the tool of your choice,
vmdebootstrap \
--size 10G \
--distribution jessie \
--grub \
--arch amd64 \
--enable-dhcp \
--image jessie.raw
You can create a OVF VirtualMachine description based on your disk image
with:
import2vbox --memory 4096 jessie.raw
And import it straight away:
VBoxManage import jessie.ovf
This could be useful if you want to run a disk image in a environment
where Qemu/KVM is not available.
Emmanuel
Reply to: