-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
synced folders not automatically sharing in centos 7 #7811
Comments
Hi! The issue has to do with guest additions not being installed on the box. I pulled the Cheers! |
I know this is a closed issue, but I would like to share how I solved this issue. I had this issue with the To use Virtual Box, just add it to your VM Vagrantfile. It will look like: # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Shared folder setting
config.vm.synced_folder ".", "/vagrant", type: 'virtualbox'
# Other settings...
end Also, before running vagrant plugin install vagrant-vbguest Once you do these 2 steps, run Source: https://stackoverflow.com/questions/46230783/vagrant-synced-folder-without-reload |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Please, inform if this is not the correct place to post this. Thanks
After vigorously googling the web, I still can't get the synced folders to work on CentOS7. I have gotten it
to work on Ubuntu out-of-the-box. All my production servers are CentOS. Ubuntu was for testing. I want
to edit the source on my host box and run it on the guest, Sinatra, for example.
Snippets from both with 'vagrant up'
centos/7
==> default: Rsyncing folder: /home/lewisb/src/ruby-dev/web-dev/ => /vagrant
ubuntu/wily64
==> default: Mounting shared folders... default: /vagrant => /home/lewisb/src/ruby-dev/sinatra-dev-box
Vagrant version
Vagrant 1.8.5
Host operating system
Fedora Linux 4.7.3-200.fc24.x86_64
VirtualBox 5.0.26r108824
Ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Guest operating system
Centos 7
Linux web-dev 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Vagrantfile
Expected behavior
I should be able to create and modify files on either host or guest and have the results automatically
synced. Ubuntu/Wiley does this out of the box.
Actual behavior
I have to
vagrant reload
to get the files synced. Snipped output from 'vagrant reload'Steps to reproduce
touch foo
foo
on host - doesn't existThe text was updated successfully, but these errors were encountered: