Host is Windows 10 and guest vagrant box is Centos/7
I have these lines in my vagrantfile:
rackspace_config.vm.synced_folder USER_DIR + "/www" , "/var/www/html/" , type: "virtualbox"
rackspace_config.vm.synced_folder USER_DIR + "/home" , "/var/www/html/home" , type: "virtualbox"
When I start the vagrant box, /var/www/html is empty. The shared folder is available, and shows up in the virtualbox console but that does not show the automount box as checked.
If I do this, the contents of USER_DIR/www appears:
sudo mount -t vboxsf var_www_html_ /var/www/html
I read that an automount option is required. I'm not sure how to specify this in the vagrant file I tried this:
rackspace_config.vm.synced_folder USER_DIR + "/www" , "/var/www/html/" , type: "virtualbox", automount: true
which I realize is a total stab in the dark, but the documentation is silent on the subject. It didn't change anything.
Can somebody tell me what the correct syntax is to add the automount option to the ...vm.synced_folder line?
Thanks,
Ed Greenberg