This is a repost of 

http://stackoverflow.com/questions/24693503/reconnect-synced-folders-from-puppet-after-virtualbox-restart

from July 2014. I could not get the solution by Sirlark to work.

I have created a puppet/vagrant/VirtualBox generated installation of Ubuntu 
running on a Windows host; see 
https://bitbucket.org/dmenne/rstudio-shiny-server-on-ubuntu for details. 
This allows users to run RStudio and Shiny server on Windows. In 
`Vagrantfile`, I have 

`config.vm.synced_folder  "shiny-server", "/srv/shiny-server", create:true`

to create a shared folder. When I start the VM with `vagrant up` or 
`vagrant reload`, everything works Ok.

One customer does not want to install puppet etc, and asks for a standalone 
VM to be started/stopped with the VirtualBox Manager on Windows. However, 
after I shutdown a vagrant-booted VM Box, my synced folders do not 
connect/mount again on VM restart, even if they turn up correctly in the 
shared folders dialog of the VirtualBox Manager. I have also tried to 
manually set "Automount" without success.

How can I generate a Vagrant-generated VM so it can be started/stopped 
without Vagrant?

Dieter Menne

-- 
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