Set the shell variable on the ssh connection type for accelerated mode

Fixes #8799
pull/8802/head
James Cammarata 10 years ago
parent 99ba9d6e24
commit ab495d1916

@ -80,6 +80,9 @@ class Connection(object):
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
if getattr(self.runner, 'aes_keys', None):
utils.AES_KEYS = self.runner.aes_keys

Loading…
Cancel
Save