20 Commits

Author SHA1 Message Date
Jeff Bonhag
1678cfa757
Fix #11439: Quote each exported directory (#11441)
This commit changes the Darwin NFS template for /etc/exports to put each
exported directory in quotes.

This fixes an issue with directory names that have spaces in them.
Quotes were chosen (rather than escaping the spaces) in order to match
the template for Linux NFS exports.
2020-03-09 16:02:03 -04:00
Jeff Bonhag
c6ee1049aa
Darwin: put each NFS export on its own line (#11216)
This commit introduces a Darwin-specific template for NFS exports.  This is almost identical to the standard BSD template except it puts each NFS export on its own line.

This resolves NFS issues discovered in macOS Catalina.
2019-11-25 15:41:05 -05:00
Brian Cain
fc4e03d559
Fixes #10609: Properly set BSD options for /etc/exports
Prior to this commit, the BSD options for the /etc/exports file was not
properly set up in the correct order for a given entry. It was however
fixed for FreeBSD, but never for the original exports template. This
commit fixes that by unifying the BSD and FreeBSD templates.
2019-06-13 11:44:12 -07:00
Andrew Marks
334981c4bd Changed order of nfs exports parameters for FreeBSD
Seems to fix my problems when using FreeBSD 10
2014-07-03 11:02:06 -07:00
Mitchell Hashimoto
3a14d27f90 core: Arbitrary NFS options with nfs_options [GH-1029] 2013-09-01 13:08:02 -07:00
Mitchell Hashimoto
65ef8d2477 Merge branch 'nfs-per-user' of https://github.com/davedevelopment/vagrant into davedevelopment-nfs-per-user
Conflicts:
	plugins/hosts/arch/host.rb
	plugins/hosts/bsd/host.rb
	plugins/hosts/linux/host.rb
	templates/nfs/exports.erb
	templates/nfs/exports_freebsd.erb
	templates/nfs/exports_linux.erb
2013-09-01 11:44:00 -07:00
Mitchell Hashimoto
3028940adb NFS allows access from all networks on VM [GH-1204] 2013-07-18 00:01:49 -04:00
Mitchell Hashimoto
2657364921 Exported sub-directories of exported NFS dirs works on BSD [GH-785] 2013-07-10 14:19:57 -07:00
Dave Marshall
b8a8286fac Use current user's uid for NFS exports 2013-03-29 00:14:12 +00:00
Mitchell Hashimoto
034477b52a Add fsid to linux exports for NFS. [GH-736] 2012-02-14 23:08:32 -08:00
Scott Sanders
2d327055f3 Do not allow BSD hosts to double-quote in exports
This is not allowed on *BSD
2012-01-30 19:52:59 -08:00
Mitchell Hashimoto
a0dacb0fc2 NFS folders with spaces should now work [GH-293] 2011-02-08 21:14:20 -08:00
Edward Dale
100f03011a Fixed bug where multiple nfs shared folders not configured correctly
on Linux

http://github.com/mitchellh/vagrant/issues#issue/141
2010-11-15 10:49:35 -08:00
Joe Van Dyk
3250b82659 Fixed bug where multiple nfs shared folders not configured correctly
http://github.com/mitchellh/vagrant/issues#issue/141
2010-08-18 13:33:58 -07:00
Mitchell Hashimoto
f8909dcbfa Fix sed calls for linux and add proper options for the UID/GID mapping. 2010-07-17 09:58:30 -07:00
Mitchell Hashimoto
67b23be473 Linux NFS support (host) 2010-07-17 09:35:43 -07:00
Mitchell Hashimoto
f9f59282f4 BSD exports template properly takes into effect mapped GID as well 2010-07-15 23:05:04 -07:00
Mitchell Hashimoto
46c462d322 NFS options to configure mapall UID/GID. Vagrant can also detect this automatically (default) 2010-07-15 23:02:31 -07:00
Mitchell Hashimoto
5e537f7126 Exports output is in proper format 2010-07-12 22:26:01 -07:00
Mitchell Hashimoto
9f4950375e Host NFS export 2010-07-12 22:10:17 -07:00