Fix up the Linux host too
This commit is contained in:
parent
e5490544d6
commit
0da334156b
|
@ -40,7 +40,7 @@ module VagrantPlugins
|
||||||
output.split("\n").each do |line|
|
output.split("\n").each do |line|
|
||||||
# This should only ask for administrative permission once, even
|
# This should only ask for administrative permission once, even
|
||||||
# though its executed in multiple subshells.
|
# 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
|
end
|
||||||
|
|
||||||
if nfs_running?(nfs_check_command)
|
if nfs_running?(nfs_check_command)
|
||||||
|
|
Loading…
Reference in New Issue