brodeuralexis
brodeuralexis

Reputation: 64

Vagrant provider stuck to VMWare Workstation

After trying to use the VMWare Workstation providers for vagrant (which I now know requires a license), and switching back to VirtualBox, I have this problem :

$ ~/Homestead > vagrant up --provider=virtualbox
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`.

Vagrant failed to initialize at a very early stage:
The plugins failed to load properly. The error message given is
shown below.

exit

I also tried exporting a default provider through VAGRANT_DEFAULT_PROVIDER, but to no avail.

Upvotes: 1

Views: 3133

Answers (1)

Frederic Henri
Frederic Henri

Reputation: 53773

You dont need the equal (=) sign. just run

vagrant up --provider virtualbox

if you export the VAGRANT_DEFAULT_PROVIDER you can run the command with the option

fhenri@machine:~/project/ubuntu$ export VAGRANT_DEFAULT_PROVIDER=virtualbox
fhenri@machine:~/project/ubuntu$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...

Can you uninstall the vmware plugin to see if it has effect

vagrant plugin uninstall vagrant-vmware-fusion

Then run it again

can you confirm you have the same issue with any Vagrantfile ?

Upvotes: 2

Related Questions