Set the shell variable on the ssh connection type for accelerated mode
Fixes #8799
This commit is contained in:
parent
99ba9d6e24
commit
ab495d1916
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ class Connection(object):
|
||||||
private_key_file=private_key_file
|
private_key_file=private_key_file
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not getattr(self.ssh, 'shell', None):
|
||||||
|
self.ssh.shell = utils.plugins.shell_loader.get('sh')
|
||||||
|
|
||||||
# attempt to work around shared-memory funness
|
# attempt to work around shared-memory funness
|
||||||
if getattr(self.runner, 'aes_keys', None):
|
if getattr(self.runner, 'aes_keys', None):
|
||||||
utils.AES_KEYS = self.runner.aes_keys
|
utils.AES_KEYS = self.runner.aes_keys
|
||||||
|
|
Loading…
Reference in a new issue