Invoke tee from specific path
This commit updates the use of `tee` to use an explicit path when invoked rather than relying on where `tee` has been defined in a users PATH.
This commit is contained in:
parent
69625628c7
commit
864340ec58
@ -111,7 +111,7 @@ module VagrantPlugins
|
||||
line = Vagrant::Util::ShellQuote.escape(line, "'")
|
||||
system(
|
||||
"echo '#{line}' | " +
|
||||
"#{sudo_command}tee -a /etc/exports >/dev/null")
|
||||
"#{sudo_command}/usr/bin/tee -a /etc/exports >/dev/null")
|
||||
end
|
||||
|
||||
# We run restart here instead of "update" just in case nfsd
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user