Added missing 'sudo' call.
This commit is contained in:
parent
0da334156b
commit
4a4ca74dea
|
@ -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[echo '#{line}' | tee -a /etc/exports >/dev/null"])
|
||||
system(%Q[echo '#{line}' | sudo tee -a /etc/exports >/dev/null"])
|
||||
end
|
||||
|
||||
if nfs_running?(nfs_check_command)
|
||||
|
|
Loading…
Reference in New Issue