vagrant/lib/vagrant
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
..
action Prevent URI parse errors when checking box name 2017-07-07 11:43:16 -07:00
config Disable loading identical Vagrantfile twice from same dir 2017-06-22 09:04:21 -07:00
plugin Deep merge plugin list with system plugins. Discard specifications correctly. 2017-06-27 19:05:30 -07:00
util (#8923) Quote path passed into IdentityFile for ssh command 2017-08-28 13:14:45 -07:00
action.rb providers/virtualbox: make prepare clone a core thing 2015-10-08 16:02:37 -04:00
batch_action.rb Always provide timeout on thread join to prevent deadlock errors 2017-03-27 12:58:39 -07:00
box.rb That file has to exist 2016-05-29 00:18:33 -04:00
box_collection.rb Sort result of BoxCollection#all 2017-03-06 08:19:02 -08:00
box_metadata.rb core: better error when adding box with malformed version [GH-3332] 2014-04-01 22:48:52 -07:00
bundler.rb Reset plugin constraint on update if explicit version set 2017-06-28 07:24:32 -07:00
capability_host.rb Use .key? instead of .has_key? 2015-01-05 18:29:01 -05:00
cli.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
config.rb core: configure version can be an int [GH-2689] 2013-12-19 08:03:15 -08:00
environment.rb Add debug output when detecting provider for environment. 2017-07-06 12:30:57 -07:00
errors.rb (#4666) Remove duplicate export folders before writing /etc/exports 2017-09-05 16:05:14 -07:00
guest.rb core: more user-friendly errors for caps on guests 2014-01-09 10:24:25 -08:00
host.rb core: pass environment into all host caps 2014-01-07 20:34:33 -08:00
machine.rb (#8697) Introduce extra_args setting for ssh configs 2017-08-17 09:02:20 -07:00
machine_index.rb core: prune machine if non-existent CWD from index [GH-4742] 2015-11-18 15:48:59 -08:00
machine_state.rb core: if state ID is NOT_CREATED_ID, destroy machine state 2014-05-05 21:44:34 -07:00
plugin.rb commands/plugin: list uses PluginManager 2014-01-05 08:42:34 -08:00
registry.rb Use .key? instead of .has_key? 2015-01-05 18:29:01 -05:00
shared_helpers.rb Support strict enforcement of internal dependency constraints 2017-06-27 19:20:20 -07:00
ui.rb Always provide timeout on thread join to prevent deadlock errors 2017-03-27 12:58:39 -07:00
util.rb Include `Which` within Util autoloads 2017-05-12 15:00:55 -07:00
vagrantfile.rb Create data dir only after the machine passes all checks 2015-02-12 14:32:16 +02:00
version.rb Add new version.txt used to generate installers 2014-02-02 15:33:12 +01:00