vagrant/templates
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
..
commands Convert atlas references to vagrant cloud 2017-06-23 10:01:51 -07:00
config Support warnings/errors when upgrading Vagrantfiles internally 2013-01-20 22:04:50 -05:00
guests Fetch first network device and pass to template for rendering 2017-05-10 12:44:37 -07:00
locales (#4666) Remove duplicate export folders before writing /etc/exports 2017-09-05 16:05:14 -07:00
nfs Changed order of nfs exports parameters for FreeBSD 2014-07-03 11:02:06 -07:00
provisioners Support Chef Solo local + legacy modes 2016-05-19 15:27:17 +01:00
package_Vagrantfile.erb New `vagrant package` option `--vagrantfile` and changed semantics of `--include` (see CHANGELOG) 2010-09-12 23:20:13 -06:00
rgloader.rb Extra protection in the rgloader file 2013-01-31 19:54:50 -08:00