on this folder, when you do vagrant up a new folder is created

.vagrant

and this one is the file that get the id of the VM created

.vagrant/machines/default/virtualbox/id

so as long the folder where you do vagrant up is local to each machine, you
are good to go

in my case i have a folder in dropbox for each host





On Mon, Aug 4, 2014 at 8:57 AM, Fredrik Krokstad <[email protected]> wrote:

> Hi and thanks for you feedback, Alvaro!
>
> I am doing "vagrant up" from the folder in which the config-files for that
> box resides. This is a folder named "Homestead" and is a cloned
> git-repository (the one Laravel-devs are told to use for Homestead). This
> folder contains, among other things: Vagrantfile and Homestead.yaml (the
> config-file for the box). When I do "vagrant up", the vm-files are created
> elsewhere, specifically ~/VirtualBox VMs/, that is, in my home folder, so
> the actual vm-files are not synced via Dropbox. The homestead-folder with
> the Vagrantifile, on the other hand, is located within my Dropbox-folder.
>
> So you what you are saying is that storing the Vagrantfile outside of
> Dropbox will fix my problem?
>
> I guess I could try that and I'll report my findings here. Thanks!
>
>
> kl. 22:38:00 UTC+2 søndag 3. august 2014 skrev Alvaro Miranda Aguilera
> følgende:
>>
>> hello
>>
>> when you do vagrant up, it create a folder in the directory you are doing
>> the vagrant up
>>
>> like .vagrant/
>>
>> what could be happening is, each other host, try to find the id of the vm
>> as a local one, can't find it, create a new one, and update this information
>>
>> you go to a new host, and repeat
>>
>> what you could do, is put the folder that will hold folder/vagrantfile
>> locally
>>
>> and setup a shared folder to mount that dropbox folder in the vm
>>
>> that will work
>>
>> Alvaro.
>>
>>
>> On Sun, Aug 3, 2014 at 3:23 AM, Fredrik Krokstad <[email protected]>
>> wrote:
>>
>>> Hello!
>>>
>>> I have run into an issue that I find to be quite strange. I'm using the
>>> Laravel/Homestead-box with Virtual Box on Max OSX 10.9.4. When I run
>>> "vagrant up", it says that the base box 'laravel/homestead' is being
>>> imported. When I look in ~/VirtualBox VMs, I can see that a new folder
>>> containing the virtual machine files was created. Here's an example of how
>>> the folders are named: Homestead_default_1406991834006_43929.
>>>
>>> Come a new day and I go to my terminal and do "vagrant up" again. Once
>>> again it says that the base box is being imported and, surely enough,
>>> looking in the VirtualBox VM's folder again reveals another
>>> Homestead_default_<timestamp>_<unknown_digits>-folder. The folders I
>>> have set up to sync are, of course, synced, but the MySQL databases inside
>>> the VM are empty.
>>>
>>> This seems to happen every day. Checking my VM-folder now, there are 9
>>> different folders in there totaling about 20GB! The same behavior is being
>>> displayed across three different macs, all running OS X 10.9.4 and using
>>> the laravel/homestead box.
>>>
>>> I dont know if it is significant, but the laravel/homestead
>>> configuration-files (cloned from a git-repo) are stored in my
>>> Dropbox-folder and I'm using this configuration across several of my Macs.
>>>
>>> Can someone please shed some light on what's going on here?
>>> Thanks!
>>>
>>> --
>>> 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.

Reply via email to