nfs_apply :: exportfs sometimes leaves exports behind

On my machine i had a case where /etc/exports was updated but the old
exports were still there. This was leading to
"exportfs: duplicated export entries" and eventually leading to nfs
being not available for the box.

changing the command exportfs -r to exportfs -ar seems to address this
issue.

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
This commit is contained in:
BlackEagle 2014-01-17 10:54:17 +01:00
parent 2f4944903e
commit b30eacf94f
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module VagrantPlugins
extend Vagrant::Util::Retryable
def self.nfs_apply_command(env)
"/usr/bin/exportfs -r"
"/usr/bin/exportfs -ar"
end
def self.nfs_check_command(env)