hello it shouldnt delete anything on the host
whats your host os and guest? can you share a sample vagrantfile to see how do you create the shared folder? On Sat, Jan 24, 2015 at 10:25 AM, Sérgio Lopes <[email protected]> wrote: > Hi, > > I use, without vagrant, several virtual machines (Windows, Ubuntu, etc.) > on VirtualBox, on all of them I have setup a shared folder that in some > cases is automatically mounted in the guest. I've now started to use > vagrant for some of the development machines and whenever I destroy a VM > (still working/learning how to setup some of env.) the shared folder I > setup manually is also deleted. > > It doesn't matter if I created it again (just the folder, the setting in > VBox never changes), as soon as I destroy a VM in vagrant the shared folder > is removed along with the vagrant's VM files. > > Is there any way to prevent this? I usually don't have any files in the > shared folder, but it is annoying to have to remember to create the folder > again after using vagrant and before starting any VBox machine. > > Regards, > > Sérgio Lopes > > -- > 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.
