Skip to content

Commit

Permalink
Add run shell definition to ios-xr
Browse files Browse the repository at this point in the history
  • Loading branch information
netixx committed Nov 9, 2023
1 parent 071f5bf commit c631961
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/platforms/cisco_iosxr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ default:
escalate: 'configure exclusive'
escalate-auth: false
escalate-prompt:
run:
name: 'run'
# match [xr-vm_node0_RP0_CPU0:~]$ (Cisco NC55XX)
# match [node0_RP0_CPU0:~]$ (Cisco 8000)
pattern: '(?im)^\[[^]]+\]\$\s*$'
previous-priv: 'exec'
deescalate: 'exit'
escalate: 'run'
escalate-auth: false
escalate-prompt:
default-desired-privilege-level: 'exec'
failed-when-contains:
- '% Ambiguous command'
Expand Down

0 comments on commit c631961

Please sign in to comment.