As you have found its global, and control by Virtualbox not, by Vagrant.

If this for user or for a CI/CD kind of stuff?

If you will be building some sort of disponsable system, then perhaps you
can look into packer.io, you can start a VM from an existing VM
(virtualbox-ovf)

If you will be running all this in some setup like Jenkins or scripts, then
you can build somethings.

https://www.virtualbox.org/manual/ch10.html

You can set:
VBOX_USER_HOME environment variable
then you can run:

VBoxManage setproperty machinefolder <path>


With that you will end with something very custom.

The need to be run before Vagrant.

Alvaro.





On Tue, Jun 6, 2017 at 8:47 AM, <[email protected]> wrote:

> I've already done that in the VB GUI. Problem is that sets a general
> location for ALL VMs. I want individual location control. That is possible
> via the VB GUI but point of Vagrant for me is not to touch the VB GUI...
>
> So, are you saying a custom path for each VM created by Vagrant can not be
> set inside the Vagrantfile ?
>
> Thanks !
>
> On Monday, June 5, 2017 at 11:37:31 PM UTC-7, Alvaro Miranda Aguilera
> wrote:
>>
>> For Virtualbox, Vagrant will create the VM on the default path defined
>> for Virtualbox.
>>
>> Usually is
>>
>> Home_dir/VirtualBox VMs
>>
>> You can change that in Virtualbox gui, preferences.
>>
>> Alvaro.
>>
>>
>> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/0259fc2a-9214-440d-aa9d-943b1895c023%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/0259fc2a-9214-440d-aa9d-943b1895c023%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewb4H3-4eeAADoVrgu6PPivdey5831kk8yH2R0hs_5Fwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to