خرید بک لینک

Vote count: 0

I'm working on a project and trying to setup the environment. In the Vagrantfile there is:

config.vm.synced_folder "./", "/vagrant", type: 'nfs'
config.vm.network "private_network", ip: "192.168.33.10"

I ssh into the box/guest, but can't see any of the files from the share. My /etc/exports looks okay:

# VAGRANT-BEGIN: 1000 14948e9b-4304-4359-9e8e-674f4ae10415
/home/{my_useame}/open 192.168.33.10(rw,no_subtree_check,all_squash,anonuid=1000,anongid=1000,fsid=743045029)
# VAGRANT-END: 1000 14948e9b-4304-4359-9e8e-674f4ae10415

My UID on the box/guest when I ssh is 500, but on the host is 1000. I tried to add the following lines to my Vagrantfile to make it match up:

  config.nfs.map_uid = Process.uid   
  config.nfs.map_gid = Process.gid 

But, still no luck. The host is Ubuntu 14.04 LTS, the box is bento/Centos-6.7. There are no error msgs during vagrant up.

asked 1 min ago

برچسب: , shared nfs folder , nfs shared folder permissions , nfs shared folder empty , shared folder nfs linux , shared folder nfs ubuntu , shared folder nfs windows , nfs shared folder mac , shared folder nfs solaris , nfs shared folder virtualbox , mounting nfs shared folders , , نویسنده: استخدام کار تاريخ: يکشنبه 17 مرداد 1395 ساعت: 11:48

صفحه بندی