diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f9e6df0f..c6d021e93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ BUG FIXES: registered plugin name [GH-2617] - core: Fix exception if an EOFError was somehow raised by Ruby while checking a box checksum. [GH-2716] + - hosts/bsd: Only run `nfsd checkexports` if there is an exports file. + [GH-2714] ## 1.4.1 (December 18, 2013) diff --git a/plugins/hosts/bsd/host.rb b/plugins/hosts/bsd/host.rb index c2484a1de..f67f8b801 100644 --- a/plugins/hosts/bsd/host.rb +++ b/plugins/hosts/bsd/host.rb @@ -36,7 +36,7 @@ module VagrantPlugins end def nfs_export(id, ips, folders) - nfs_checkexports! + nfs_checkexports! if File.file?("/etc/exports") # We need to build up mapping of directories that are enclosed # within each other because the exports file has to have subdirectories