when you customize the vagrantfile for providers, that will take precedence.

if you have a normal vagrantfile without any customization for provider, it
will automatically use virtualbox by default and vmware for those machines
with vagrant-vmware plugin

you can try this

put the vmware code before virtualbox,

and wrap the code around this:

if Vagrant.has_plugin?("vagrant-vmware-workstation")

..

end



On Mon, Sep 19, 2016 at 10:23 PM, Brian Gonzalez <brianfgonza...@gmail.com>
wrote:

> Al, Thanks, I was hoping to avoid having to pass additional args, because
> i'm going to be sharing this with lots of people on my team.  I'm testing a
> workaround now, which is changing my vagrantfile to set the provider using
> a File.exist? ruby block, seems to be a decent workaround?  any thoughts?
>
> https://gist.github.com/brianfgonzalez/30aaeeaa93bb9b943128767f11e56530
>
> On Monday, September 19, 2016 at 4:11:30 PM UTC-4, Alvaro Miranda Aguilera
> wrote:
>>
>> line 85 is virtualbox, and its before vmware.. thats the reason
>>
>> comment that out or use
>>
>> vagrant up --provider=vmware_desktop
>>
>> Alvaro
>>
>> On Mon, Sep 19, 2016 at 9:43 PM, Brian Gonzalez <brianfg...@gmail.com>
>> wrote:
>>
>>> How do i tell vagrant to NOT install virtualbox?  If I run vagrantup on
>>> a machine with vmware workstation, it goes out and grabs virtualbox..
>>>
>>> Heres a gist of my Vagrantfile: https://gist.gith
>>> ub.com/brianfgonzalez/30aaeeaa93bb9b943128767f11e56530#file-vagrantfile
>>>
>>> -BG
>>>
>>> --
>>> 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/ms
>>> gid/vagrant-up/2b8c90e5-6c59-4667-bc56-ef45fc38f467%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vagrant-up/2b8c90e5-6c59-4667-bc56-ef45fc38f467%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Alvaro
>> (+31)103400555
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/e16bb196-d8ea-4af9-9939-8141e116d06c%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/e16bb196-d8ea-4af9-9939-8141e116d06c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro
(+31)103400555

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezZ9czMoXi3E1U%2BxOmxgbsKvF2ESZKVntDpEXRPeFWNHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to