nfs: Allow read and write in NFS share.

Reference: https://linux.die.net/man/5/exports
This commit is contained in:
Umair Khan 2017-12-01 10:05:08 +05:00 committed by showell
parent dd57939f50
commit dd97c7e659
1 changed files with 2 additions and 1 deletions

3
Vagrantfile vendored
View File

@ -31,7 +31,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/vagrant", disabled: true
if (/darwin/ =~ RUBY_PLATFORM) != nil if (/darwin/ =~ RUBY_PLATFORM) != nil
config.vm.synced_folder ".", "/srv/zulip", type: "nfs" config.vm.synced_folder ".", "/srv/zulip", type: "nfs",
linux__nfs_options: ['rw']
config.vm.network "private_network", type: "dhcp" config.vm.network "private_network", type: "dhcp"
else else
config.vm.synced_folder ".", "/srv/zulip" config.vm.synced_folder ".", "/srv/zulip"