I want to create a Vagrant box based on the output of another Vagrant box. The first one builds a .bin file. Ideally I would like to create a new Vagrant box based on this file. Something like
$ mkdir node2 ; cd node2 $ vagrant init node2 ../build/qMp_3.2.1-Clearance_VirtualBox_x86_factory_20170406-2203.bin --minimal $ vagrant up
However it gives an error
bsdtar.EXE: Error opening archive: Unrecognized archive format
I can convert from .bin to .vdi, but it's still not enough to create a Vagrant box.
vboxmanage convertfromraw --format vdi qMp_3.2.1-Clearance_VirtualBox_x86_factory_20180325-0702.bin qmp-nycmesh-3.2.1.vdi
It still gives the 'error opening archive' message. How do I create a Vagrant box from a VirtualBox disk image?