NuCivic / ansible-dev-vm

8 stars 5 forks source link

Provider error when vagrant up #29

Closed topicus closed 9 years ago

topicus commented 9 years ago

When I try to up my VM I'm getting:

The box you attempted to add doesn't match the provider you specified.

Provider expected: vmware_desktop, vmware_fusion, vmware_workstation
Provider of box: virtualbox

I'm tried with:

acouch commented 9 years ago

You've tried vagrant plugin uninstall vmware_fusion; vagrant plugin install vagrant plugin install vmware_fusion?

topicus commented 9 years ago

Yes, I tried with that.

acouch commented 9 years ago

What version of vagrant and the plugin are you using?

topicus commented 9 years ago

I've ran it again and I get:

Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

Could not find gem 'vmware_fusion (>= 0) ruby' in the gems available on this machine.
janette commented 9 years ago
vagrant plugin install vmware_fusion
Installing the 'vmware_fusion' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

Could not find gem 'vmware_fusion (>= 0) ruby' in the gems available on this machine.
topicus commented 9 years ago

it seems like now it changes how to run it:

vagrant plugin install vagrant-vmware-fusion

acouch commented 9 years ago

What version of Ansible are you using?

topicus commented 9 years ago

ansible 1.9.1

topicus commented 9 years ago

@janette if you use:

vagrant plugin install vagrant-vmware-fusion

It installs the plugin. Checking if that solve the issue. Waiting for download is completed.

janette commented 9 years ago
vagrant plugin install vagrant-vmware-fusion

does in fact install the plug-in but running

vagrant up --provider vmware_fusion

still gets the 'doesn't match' error above

topicus commented 9 years ago

yes, I got the same error.

topicus commented 9 years ago

Solution:

vagrant box add geerlingguy/ubuntu1404
(selecting “2”)
vagrant up -provider=vmware_fusion