feature in ios to tell shell not to kickstart

This commit is necessary to tell shell not to kickstart the cli session as
it causes problems in IOS to recognize the prompt.
This commit is contained in:
Peter Sprygada 2016-03-13 16:04:56 -07:00
parent 249caac0d3
commit 5338d6af28

View file

@ -52,7 +52,7 @@ class Cli(object):
username = self.module.params['username']
password = self.module.params['password']
self.shell = Shell()
self.shell = Shell(kickstart=False)
try:
self.shell.open(host, port=port, username=username, password=password)