As I have the necessity to do sync folders, I’m creating the below lines in 
vagrant file.

config.vm.synced_folder "hostdata/", "/home/vagrant/data_guest", create: 
true, disabled: false

The first option create:true working perfectly on host machine, as I tested 
without creating the folder.

But its not working on the guest server, and there is no error while 
loading too.

I tried to add *disabled: false* but still not working.

Is there something I needs to add for making this *sync*.

ps: Initilally I created the synced without create:true, and it asking to 
create the directory, if it doesn’t exist.


Any help would be appreciated.


My vagrant file:

Vagrant.configure("2") do |config|
  config.vm.box = "cbr25/centos7x64"
  config.vm.synced_folder "hostdata/", "/home/vagrant/data_guest", create: 
true
end
​

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/f87e7183-6636-4c7c-a0ae-b5f8b8ea901e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to