vagrant-mutate
vagrant-mutate copied to clipboard
Support virtualbox as output
This requires generating an appropriate OVF file.
Also, #7 needs done first
Is anyone working on this?
Not I.
it would be great to have this ! Although my coding skills are not sufficient to code it myself :/
@sciurus Do you still plan to implement it in the future ?
I managed to transform IMG (qcow2) into virtualbox. If anybody interested, I could find it and post it here.
@varac I do not plan to implement this myself. I'll keep this issue open so anyone who wants to contribute this feature knows that it is welcome.
@lukas0krupa that's exapctly what we're looking for ! so yes, please post it here or even better, do a pull request !
@lukas0krupa: ping, did you noticed my comment above ^ ?
@varac No, I haven't. Thanks for notification. I have it somewhere at work and today we have bank holiday ;-). I will post it here.
@varac I managed to find it today, so here it is. I hope this will help. I haven't done this for a while, so I just copied from my comments. If anything isn't working, let me know and I will try to replicate it.
Convert Libvirt to Virtualbox
Untar <name>.box
or navigate to $VAGRANT_HOME/boxes/.....
to find box.img
. Navigate to folder where box.img file is and run
sudo qemu-img convert -f qcow2 -O vdi box.img <name>.vdi
Now you create new machine in VB by following wizard and choose options that your box need to have (memory, processor, netword, etc.) !! Vagrant expect that 1st Network adapter is NAT
Virtual box require VBox additions to be installed on guest machine. For Linux, following need be installed before installing VBox additions
sudo apt-get install linux-headers-generic build-essential dkms
Install additions From ISO that could be downloaded Linux: Using package manger
sudo apt-get install virtualbox-guest-utils
or choose one of the method described here Ubuntu-14-04 install VBox guest additions Shutdown machine and revise machine settings (CD-ROM attached, memory, etc.)
Run following command to package box (see vagrant help package for more information)
vagrant package --base <name_in_virtualbox> --output <box_name>.box
@lukas0krupa thx for the howto
just for the record, i won't work on this neither (i'm not a developer and neither am i going to install virtualbox), i was just curious how the image migration looks like. Maybe someone else picks this up.