Fix up the Linux host too

This commit is contained in:
Jon Topper 2014-05-05 23:56:39 +01:00
parent e5490544d6
commit 0da334156b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ module VagrantPlugins
output.split("\n").each do |line|
# This should only ask for administrative permission once, even
# though its executed in multiple subshells.
system(%Q[sudo su root -c "echo '#{line}' >> /etc/exports"])
system(%Q[echo '#{line}' | tee -a /etc/exports >/dev/null"])
end
if nfs_running?(nfs_check_command)