provider/docker: Add -u flag to exec

This commit is contained in:
Seth Vargo 2016-05-31 20:04:27 -04:00
parent cfac24779c
commit e270e7df27
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ module VagrantPlugins
options[:pty] = t
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|
options[:prefix] = p
end