yeah that, sorry for the error. but you got the idea.

On Mon, Sep 22, 2014 at 8:05 PM, Shai Ben-Naphtali <[email protected]> wrote:

> Brilliant :) thanks, it worked like a charm :)
>
> FYI, needed to change* if i = 2 *; to* if i == 2* (using two equal signs)
>
>
> On Sun, Sep 21, 2014 at 4:30 AM, Alvaro Miranda Aguilera <
> [email protected]> wrote:
>
>> try something like this
>>
>>      config.vm.provider "virtualbox" do |v|
>>                              if i = 2
>>                                    v.cpus = 4
>>                                 else
>>                                    v.cpus = 2
>>                                 end
>>
>>
>> On Thu, Sep 18, 2014 at 8:57 PM, Shai Ben-Naphtali <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> I've got this Vagrantfile setup (
>>> https://gist.github.com/shai/e2e180e8994531edad96) and I want to make
>>> sure that sbn-vm002 boots with 4 CPUs instead of 2.
>>>
>>> How can I construct some sort of IF that would check the vm name and set
>>> 4 CPUs to that vm #2 ?
>>>
>>> Thanks in advance!
>>>
>>> ---
>>> Shai
>>>
>>> --
>>> 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].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Vagrant" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/vagrant-up/znno1OYkkgI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to