Thanks Alvaro!

I guess people is not eagerly need this feature probably because they are
focus on using cases of 1) clouding platform 2) laptop dev env, which
normally has only one hard disc?

But, I will appreciate it if vagrant (probably depends on feature of
VirtualBox) can implement it.

Yiyu



On Fri, Aug 15, 2014 at 5:32 AM, Alvaro Miranda Aguilera <[email protected]>
wrote:

> got it.
>
> i am afraid is not possible at the moment.are a couple of issues open for
> this.
>
> hopefully it may be implemented soon.
>
>
>
>
> On Fri, Aug 15, 2014 at 6:15 PM, Yiyu Jia <[email protected]> wrote:
>
>>
>> No. I want to put vms on different disk. For example, suppose I have two
>> hard disc (disc1 and disc2) in my PC server and I configure two vm (vm1 and
>> vm2) in one VagrantFile, I want to put vm1 on disc1 and vm2 on disc2.
>>
>> changing default VirtualBox will still put two vms under same directory.
>>
>>
>> On Fri, Aug 15, 2014 at 12:55 AM, Alvaro Miranda Aguilera <
>> [email protected]> wrote:
>>
>>> you want all the vms in the same disk?
>>>
>>> you can move the default vm directory.
>>>
>>> or that doesn't work?
>>>
>>>
>>> On Fri, Aug 15, 2014 at 4:41 PM, Yiyu Jia <[email protected]> wrote:
>>>
>>>> Hi Alvaro,
>>>>
>>>> Thanks a lot for response and helps!
>>>>
>>>> I checked just now. Vagrant does not use command "VBoxManage createvm"
>>>> to create new VMs. Instead, it use Import command to import vm from ovf
>>>> file (box). So, that "--basefolder" looks like not helpful.
>>>>
>>>> Then, I searched the options for "vboxmanage import" command and that
>>>> options should allow us specify where the images file can be put.  But, no
>>>> lucky so far.
>>>>
>>>> thanks,
>>>>
>>>> Yiyu
>>>>
>>>>
>>>>
>>>> On Thu, Aug 14, 2014 at 4:45 PM, Alvaro Miranda Aguilera <
>>>> [email protected]> wrote:
>>>>
>>>>> 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 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 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 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.

Reply via email to