check if your installation have any license and remove it
vagrant plugin list
vagrant plugin uninstall vagrant-vmware-<name>

share output of vagrant plugin list and the packer code you are using.

you can add the provider to force virtualbox like this:
https://www.packer.io/docs/builders/vagrant.html#example


Thanks
alvaro.

On Mon, Nov 11, 2019 at 7:58 PM voidSurfr <[email protected]> wrote:

> also, just removed all the VMware bits and Vagrant is still complaining.
>
> Is the vagrant check to simply see if fusion is installed? Then, if no
> license: error?
>
>
>
> On Friday, November 8, 2019 at 5:36:14 PM UTC-8, voidSurfr wrote:
>>
>> Hey guys,
>>
>> 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
>> provider. Please visit http://www.vagrantup.com to purchase
>> 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.
>>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/74b457d4-3b6f-48b2-ad2c-fce0524b1293%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/74b457d4-3b6f-48b2-ad2c-fce0524b1293%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez_PM0iqJb-jrJ3dWabdbmoqpqS-c2X9bqoY0Lqn8WXZg%40mail.gmail.com.

Reply via email to