Updating for NFS Fix

This commit is contained in:
Raman Nanda 2013-09-11 17:22:13 -04:00
parent fd68e362a0
commit 0c03ad18fc
1 changed files with 3 additions and 1 deletions

View File

@ -122,7 +122,9 @@ module VagrantPlugins
output.split("\n").each do |line|
line.gsub!('"', '\"')
line.gsub!("'", "'\\\\''")
system(%Q[sudo su root -c "echo '#{line}' >> /etc/exports"])
# system(%Q[sudo su root -c "echo '#{line}' >> /etc/exports"])
# Update to Bypass Security Check
system(%Q[sudo -s -- "echo '#{line}' >> /etc/exports"])
end
# We run restart here instead of "update" just in case nfsd