vagrant/plugins/hosts/linux
Brian Cain f0f60a1075 (#4666) Remove duplicate export folders before writing /etc/exports
Prior to this commit, if you set up multiple folders to export with NFS
on linux with the exact same hostpath, the template used to write
/etc/exports would end up placing the same path with the same IP in
/etc/exports and cause an error preventing the folders from being
properly mounted. This commit fixes that by first looking at which
folders are being exported and if there are any duplicates. If so,
remove the duplicates and only export 1 hostpath folder. If these
duplicate folders have differing nfs linux options, an exception must be
thrown because we cannot assume which options the user intended to
export with.
2017-09-05 16:05:14 -07:00
..
cap (#4666) Remove duplicate export folders before writing /etc/exports 2017-09-05 16:05:14 -07:00
host.rb hosts/*: proper detect API 2014-01-07 21:18:36 -08:00
plugin.rb hosts/linux: rdp_client cap [GH-3845] 2014-05-20 19:55:36 -07:00