title: How to share a folder created inside vagrant?
body: <p>I have a vagrant VM and I have shared a folder (my code repo) from the host (Ubuntu) to vagrant using <code>config.vm.share_folder</code>. I would like to do the opposite with a folder I have created inside the vagrant machine (a virtual environment) I would like to share it back to the host. How can I do that?</p>
  <p>I have tried to add the following to the vagrant file: <code>config.vm.share_folder &quot;virtualenv&quot;, &quot;/home/vagrant/devenv&quot;, &quot;../virtualenv&quot;</code> which points respectively to the virtual environment on the vagrant machine and to an empty folder on the host. When I vagrant up and look inside the folder on the host I would like to see the content of the virtual env inside the vagrant machine but the folder stays empty. And when I ssh into the vagrant machine and look inside the virtual env folder it has become empty. Deactivating this setting restores the content of the folder on the vagrant machine.</p>