Skip to content

Commit

Permalink
Merge pull request #280 from GrahamDumpleton/default-terminal-script-…
Browse files Browse the repository at this point in the history
…docs

Default terminal script documentation.
  • Loading branch information
GrahamDumpleton authored Jan 23, 2024
2 parents 41efd94 + 9e3e90e commit 5f5982d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project-docs/release-notes/version-2.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ New Features
For more details see [Provisioning a virtual
cluster](provisioning-a-virtual-cluster).

* A default command can now be specified for all terminal sessions by supplying
a ``terminal.sh`` file in the ``workshop`` directory. Where a terminal script
exists for a specific session at the same time, it will take precedence.

Features Changed
----------------

Expand Down
2 changes: 2 additions & 0 deletions project-docs/workshop-content/workshop-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,5 @@ echo
exec bash
```
In the case where you need to provide a default command for all terminal sessions regardless of name, such as to redirect all sessions to a virtual machine or container, you can do so by providing an executable shell script ``terminal.sh`` in the ``workshop`` directory. Note that a terminal script for a specific named terminal session, if it also exists, will take precedence over this default terminal script.

0 comments on commit 5f5982d

Please sign in to comment.