bugfix
This commit is contained in:
parent
6e40d7f527
commit
5af9ddb2e5
@ -60,9 +60,11 @@ class XtermProcessor(PythonScriptProcessor):
|
|||||||
port = login_info.get('port', 22)
|
port = login_info.get('port', 22)
|
||||||
username = login_info.get('username', 'root')
|
username = login_info.get('username', 'root')
|
||||||
password = login_info.get('password',None)
|
password = login_info.get('password',None)
|
||||||
|
jumpers = login_info.get('jumpers', [])
|
||||||
self.sshnode = SSHNode(host, username=username,
|
self.sshnode = SSHNode(host, username=username,
|
||||||
password=password,
|
password=password,
|
||||||
port=port)
|
port=port,
|
||||||
|
jumpers=jumpers)
|
||||||
await self.sshnode.connect()
|
await self.sshnode.connect()
|
||||||
self.p_obj = await self.sshnode._process('bash',
|
self.p_obj = await self.sshnode._process('bash',
|
||||||
term_type='vt100',
|
term_type='vt100',
|
||||||
|
Loading…
Reference in New Issue
Block a user