Using an image build for QEMU in a Virtualbox Vagrant box

23 views
Skip to first unread message

Joshua Haupt

unread,
Jan 19, 2019, 3:35:02 PM1/19/19
to Packer
My team would like to convert an image that was build using the QEMU builder to a Vagrant box that can be imported into Virtualbox. Would this be possible by calling qemu-img convert using the local shell post processor and then calling the Vagrant post processor to package the box?

Does the Vagrant post processor determine what type of box to package based on the type of builder that was called or does it determine it by the types of images that are present?

We would love to be able to use the vagrant-libvirt provider, unfortunately, most of our team is using Cupertino, CA's operating system which the plugin does not support.

Thank You

dragon788

unread,
Mar 24, 2020, 6:00:05 PM3/24/20
to Packer
You've probably already found an answer, but there is a plugin called vagrant-mutate that lets you attempt conversions between box providers.
Reply all
Reply to author
Forward
0 new messages