fix(webcrt): skip Netmiko terminal-length on interactive login.

Keep disable_paging for collection/MCP; WebCRT opens sessions with interactive=True so the device CLI is not pre-seeded.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hansjone 2026-07-30 02:34:25 +00:00
parent 9a72a9a099
commit b8fa2c6725
3 changed files with 117 additions and 8 deletions

View file

@ -598,6 +598,7 @@ def create_session(
session_log=log_buf,
cols=c,
rows=r,
interactive=True,
)
except Exception as exc:
partial = _session_log_text(log_buf).strip()