vagrant complains about VMware license when importing a vbox .box file

22 views
Skip to first unread message

voidSurfr

unread,
Nov 8, 2019, 8:36:14 PM11/8/19
to Vagrant
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.

voidSurfr

unread,
Nov 11, 2019, 1:58:33 PM11/11/19
to Vagrant
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?

Alvaro Miranda Aguilera

unread,
Nov 13, 2019, 4:58:25 PM11/13/19
to vagra...@googlegroups.com
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:


Thanks
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/74b457d4-3b6f-48b2-ad2c-fce0524b1293%40googlegroups.com.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages