Building an image with packer for vagrant box consumption. I have definition in the packer build for vmware-fusion and vbox. build-time parameter is -only=virtualbox though.
When I go to import the vbox .box file Vagrant still requires the licence for vmware.
packer build -color=false -force -only=virtualbox-iso centos-75-cis.json
...
Build 'virtualbox-iso' finished.
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: /Users/me/vms/vagrant/boxes/centos/centos-7.7-cis.virtualbox.box
+ break
+ echo -e 'Adding CentOS 7 / CIS to the local registry...'
Adding CentOS 7 / CIS to the local registry...
+ sleep 5
+ vagrant box add --force centos-cis /Users/me/vms/vagrant/boxes/centos/centos-7.7-cis.virtualbox.box
A valid license is required to run the Vagrant VMware
a license. Once you purchase a license, you can install it
using `vagrant plugin license`.
Is there any way through this? I don't use these tools much any more so the packer/vagrant muscles have gone somewhat weak; any help would be greatly appreciated.