diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-22 18:30:40 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-22 18:30:40 +0200 |
commit | a30d74f41647258d0c338c495ea7fea90dec3663 (patch) | |
tree | 40abefb5a100f8f1e44093f4cf2ee994d1358623 | |
parent | 9ca60f94bf16b5958967d786f479842e454767dc (diff) | |
download | vyos-1x-a30d74f41647258d0c338c495ea7fea90dec3663.tar.gz vyos-1x-a30d74f41647258d0c338c495ea7fea90dec3663.zip |
container: op-mode: T3765: add "connect container mysql-server" command
-rw-r--r-- | op-mode-definitions/connect.xml.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/op-mode-definitions/connect.xml.in b/op-mode-definitions/connect.xml.in index 8f19eac70..88f91ae32 100644 --- a/op-mode-definitions/connect.xml.in +++ b/op-mode-definitions/connect.xml.in @@ -24,6 +24,15 @@ </properties> <command>sudo ${vyos_op_scripts_dir}/connect_disconnect.py --connect "$3"</command> </tagNode> + <tagNode name="container"> + <properties> + <help>Attach to a running container</help> + <completionHelp> + <path>container name</path> + </completionHelp> + </properties> + <command>echo "Use Ctrl+p and Ctrl+q to detach"; sudo podman attach "$3"</command> + </tagNode> </children> </node> </interfaceDefinition> |