Skip to content

Commit

Permalink
add terminals.json to git
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed Jan 13, 2025
1 parent e3a51ac commit e57c563
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Temporary Items
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
{%- if 'terminals' | _in(lab_features) %}!.vscode/terminals.json{% endif %}

# Local History for Visual Studio Code
.history/
Expand Down
1 change: 1 addition & 0 deletions labs/cvaas-cvaas-and-avd-demo--evpn-mlag/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Temporary Items
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
!.vscode/terminals.json

# Local History for Visual Studio Code
.history/
Expand Down
50 changes: 50 additions & 0 deletions labs/cvaas-cvaas-and-avd-demo--evpn-mlag/.vscode/terminals.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"autorun": true,
"autokill": true,
"env": {
"TERMINAL_READY_MESSAGE": "Please check the README.md and the lab documentation before using the lab.",
"TERMINAL_SHELL": "bash",
"TERMINAL_STATUS_COMMAND": "Cli -p 15 -c 'show version'",
"TERMINAL_READY_COMMAND": "Cli -p 15"
},
"terminals": [
{
"name": "l01",
"icon": "bookmark",
"color": "terminal.ansiRed",
"command": "terminals.sh l01",
"recycle": false,
"open": true,
"focus": true
},
{
"name": "l02",
"icon": "bookmark",
"color": "terminal.ansiRed",
"split": "l01",
"command": "terminals.sh l02",
"recycle": false,
"open": true,
"focus": true
},
{
"name": "h01",
"icon": "code",
"color": "terminal.ansiGreen",
"command": "terminals.sh h01",
"recycle": false,
"open": true,
"focus": true
},
{
"name": "h02",
"icon": "code",
"color": "terminal.ansiGreen",
"split": "h01",
"command": "terminals.sh h02",
"recycle": false,
"open": true,
"focus": true
}
]
}

0 comments on commit e57c563

Please sign in to comment.