mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
Fix junos prompt issue (#22536)
Need to handle junos shell prompt that end's with '%'
This commit is contained in:
committed by
Peter Sprygada
parent
39c38bf30d
commit
8b6d786cff
@@ -35,7 +35,7 @@ except ImportError:
|
||||
class TerminalModule(TerminalBase):
|
||||
|
||||
terminal_stdout_re = [
|
||||
re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"),
|
||||
re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$|%"),
|
||||
]
|
||||
|
||||
terminal_stderr_re = [
|
||||
|
||||
Reference in New Issue
Block a user