mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
providers/docker: support custom shell properly [GH-3697]
This commit is contained in:
parent
b47df84887
commit
cc75eb188f
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ module VagrantPlugins
|
|||
# over the default configured shell. If we are using `sudo` then we
|
||||
# need to wrap the shell in a `sudo` call.
|
||||
shell_cmd = @machine.config.ssh.shell
|
||||
shell_cmd = shell if opts[:shell]
|
||||
shell_cmd = opts[:shell] if opts[:shell]
|
||||
shell_cmd = "sudo -E -H #{shell_cmd}" if opts[:sudo]
|
||||
|
||||
acc = {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue