Skip to content

Commit 2f40b7c

Browse files
mpfz0rMarco Pfatschbacherktbyers
authored
Fix Garderos GRS alt_prompt (#3733)
Unprivilged prompts on GRS terminate with a `$`. Tested with Garderos version 3.7.38, 3.6.68 and 3.5.66 Co-authored-by: Marco Pfatschbacher <[email protected]> Co-authored-by: Kirk Byers <[email protected]>
1 parent 1a6b61b commit 2f40b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netmiko/garderos/garderos_grs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def session_preparation(self) -> None:
1818
"""Prepare the session after the connection has been established"""
1919
self.ansi_escape_codes = True
2020
self._test_channel_read()
21-
self.set_base_prompt(pri_prompt_terminator="#")
21+
self.set_base_prompt(pri_prompt_terminator="#", alt_prompt_terminator="$")
2222
self.clear_buffer()
2323

2424
def send_command(

0 commit comments

Comments
 (0)