if moving the default folder is something that will work for you, then the
best will be you do it at virtualbox for the moment, and every new machine
will go there

if your requirement is to be able to select per virtual machine where to
put the vm, this is done already in vmware from what i understand, and are
a couple of tickets/issues open on github for this

i will test over the weekend the command you have shared,, i wasnt aware of
that one and seems it may do the trick

i will report back after i test

thanks
alvaro


On Fri, Aug 15, 2014 at 8:16 AM, Yiyu Jia <[email protected]> wrote:

>
> No others think it is useful for Vagrant to support provider having
> parameter about folders, where vm images files are created and loaded?
>
> I ask in case I am stuck in a use case, which is not meaningful. My use
> case is that I want to put vm images into different partition on the disk.
>
>
>
> On Wed, Aug 13, 2014 at 6:38 PM, Yiyu Jia <[email protected]> wrote:
>
>> Hi Alvaro,
>>
>> Thanks a lot for response! It will be nice if Vagrant can support the
>> feature that allow us specify the image location. But, sounds it depends on
>> provider's features as well.
>>
>> it looks that VirtualBox support options "--basefolder" (
>> https://www.virtualbox.org/manual/ch08.html#vboxmanage-createvm) . Is
>> this options supported in Vagrant?
>>
>> Yiyu
>>
>>
>>
>> On Wed, Aug 13, 2014 at 6:16 PM, Alvaro Miranda Aguilera <
>> [email protected]> wrote:
>>
>>> Hello,
>>>
>>> Vagrant will use the default location for each provider, so the fix will
>>> be per provider.
>>>
>>> For Virtualbox, you can change that location on the gui/preferences and
>>> any new VM will be created there.
>>>
>>> For Vmware, I have read that there is a parameter you can use to specify
>>> the directory where the disks are going, and I will assume you can also
>>> edit the the default vm location.
>>>
>>> Hope this helps.
>>>
>>> Alvaro.
>>>
>>>
>>> On Thu, Aug 14, 2014 at 8:32 AM, Yiyu Jia <[email protected]> wrote:
>>>
>>>>
>>>> Also, I know we can got o VirtualBox Manager and click "File ->
>>>> Preference -> General" to change the default machine folder.
>>>>
>>>> But, do we have provider options that allow us to specify different VM
>>>> to different folder inside one VagrantFile ?
>>>>
>>>>
>>>>
>>>>
>>>> On Wednesday, August 13, 2014 3:59:42 PM UTC-4, Yiyu Jia wrote:
>>>>>
>>>>>
>>>>> I had Vagrant and VirtualBox installed on my CentOS 6.5 PC server. I
>>>>> find that the vm image file is always put under folder ./root/VirtualBox
>>>>> VMs/ .
>>>>>
>>>>> Will anyone please share with me how to make Vagrant to put new
>>>>> launched vm image files under a specified folder? I have this question
>>>>> because I have multiple lvm on my machine and the default folder is under 
>>>>> a
>>>>> lvm partition whose size is very small. I want to make vagrant to put new
>>>>> launched vm image under other lvm partition which has big size.
>>>>>
>>>>> any help will be appreciated!
>>>>>
>>>>>  --
>>>> 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/lvD-vgAue5E/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