provider/docker: Add -u flag to exec
This commit is contained in:
parent
cfac24779c
commit
e270e7df27
|
@ -31,6 +31,10 @@ module VagrantPlugins
|
||||||
options[:pty] = t
|
options[:pty] = t
|
||||||
end
|
end
|
||||||
|
|
||||||
|
o.on("-u", "--user USER", "User or UID") do |u|
|
||||||
|
options[:user] = u
|
||||||
|
end
|
||||||
|
|
||||||
o.on("--[no-]prefix", "Prefix output with machine names") do |p|
|
o.on("--[no-]prefix", "Prefix output with machine names") do |p|
|
||||||
options[:prefix] = p
|
options[:prefix] = p
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue