Hello,

You can have:

- Global Vagrantfile
- Box/Template Vagrantfile
- Project Vagrantfile

when you do vagrant <command>, Vagrant read all of those, can generate
what will be all the action list.

Think ~/.vagrant.d as the global Vagrantfile. useful if you want some
configuration to be in ALL the boxes you want to create

Then, there is a vagrantfile in the
~/.vagrant.d/boxes/<box/version>/include that is a Vagrantfile with
extra bits you want to have when you distribute a box

Plus, the my_project/Vagrantfile is where you have your very own customizations

Let me know if this make sense and helps to clarify.

Alvaro.


On Wed, Mar 4, 2015 at 9:10 AM, Willem-Siebe Spoelstra
<[email protected]> wrote:
> Hi all,
>
> In my personal 'C partition' location : C > Users > my Username I see beside
> the .vagrant, .vagrant.d, .VirtualBox and VirtualBox VMs folders also a
> 'Vagrantfile'.
> Is it normal there is a Vagrantfile on this location or did it end up there
> by myself?
>
> I just don't understand why it is there since the Vagrantfile is something
> you place in every project folder.
> Looking further I found out there are actually other places where
> Vagrantfiles can be: http://docs.vagrantup.com/v2/vagrantfile/index.html
>
>
>> Vagrantfile packaged with the box that is to be used for a given machine.
>> Vagrantfile in your Vagrant home directory (defaults to ~/.vagrant.d).
>> This lets you specify some defaults for your system user.
>> Vagrantfile from the project directory. This is the Vagrantfile that
>> you'll be modifying most of the time.
>> Multi-machine overrides if any.
>> Provider-specific overrides, if any.
>
>
>
> I don't see anywhere mentioned the Vagrantfile I have in my "C > Users > my
> Username" folder.
> And I don't see any vagrantfile in my 'vagrant home directory', because when
> I open the .vagrant.d folder I don't see a Vagrantfile there.
>
> Hope somebody can clearify these questions for me.
>
> Kind regards,
>
> Willem-Siebe Spoelstra
>
> --
> 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