Fix bug where SSH didn't work properly
Forgot to set the `shell` variable properly
This commit is contained in:
parent
4efa9ad3cc
commit
2441961a34
|
@ -172,7 +172,8 @@ module Vagrant
|
|||
|
||||
# Determine the shell to execute. If we are using `sudo` then we
|
||||
# need to wrap the shell in a `sudo` call.
|
||||
shell = "sudo -H #{@vm.config.ssh.shell}" if sudo
|
||||
shell = @vm.config.ssh.shell
|
||||
shell = "sudo -H #{shell}" if sudo
|
||||
|
||||
# Open the channel so we can execute or command
|
||||
channel = connection.open_channel do |ch|
|
||||
|
|
Loading…
Reference in New Issue