perhaps one of the variables is causing issues. can you paste the output of:
env | egrep -i 'v*box|vagrant' if you have some time, can you try with this vm: https://vagrantcloud.com/kikitux/oracle65-2disk On Mon, Mar 17, 2014 at 3:26 PM, Nic' <[email protected]> wrote: > yes , it happens with both vm downloaded from vagrantbox.es or build by > myself. > I rename the VM in the vagrantfile with the config.vm.name command. > so it create a folder named as wished but the vmdk doesnt follow and stay > in the original folder used by the basebox. > > I join a vbox file and a vagrant file , in the .VBOX file line 12 is the > location(../Template_test/*.vmdk) of the harddisk even if i have rename my > VM in the VagranFile (vb.name=002) > > thank you . > > Le lundi 17 mars 2014 14:53:57 UTC+13, Alvaro Miranda Aguilera a écrit : >> >> uhmmmm, >> >> from where are you getting those boxes or how are you creating them? >> >> I don't face that problem. >> >> I have seen that when you create a new disk as part of the vagrant file >> >> for that situation (create a new disk) >> >> What you may want to do, is set a specific name to the vm, so the path to >> the folder in the virtualbox default path will be known, then you can >> create the file in that known path >> >> config.vm.hostname is the hostname inside the vm >> config.vm.name is the name of the vm in the VirtualBox space >> >> >> can you share a Vagrantfile and one of those base box ??? >> >> >> >> >> On Mon, Mar 17, 2014 at 2:39 PM, Nic' <[email protected]> wrote: >> >>> Hi , >>> >>> after few deployments with Vagrant either with a base box or with a new >>> packaged one , I face to a problem with the hard disk location within VBox. >>> Actually , each time I Vagrant up a new machine , even if i renamed it >>> , the new hard disk (vmdk) wil take place in the same original folder >>> define in the base box. >>> e.g. ~\myvms\basebox\xxxx.vmdk >>> and all my next VMs based on a specific basebox will put the .vmdk in >>> the above folder . >>> >>> Wich is logical because it's defined in the .OVF file but it's not >>> really handy and I don't really like to mix all hard drive together. >>> >>> Work around : I manage the hard disk afterward with VBoxmanage and move >>> it in a specific VM folder >>> >>> But where is the automate way to do that ? >>> >>> If anyone has an idea ? >>> >>> thank you. >>> Nic" >>> >>> -- >>> 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. > -- 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.
