diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-22 19:23:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-22 19:23:25 +0200 |
commit | 0e4b36f4c550baf151a1bbc68e4ed1bea8cd3c94 (patch) | |
tree | 101c4f49d52144c29c0f580bbac4e89a0119262b /op-mode-definitions/containers.xml.in | |
parent | a30d74f41647258d0c338c495ea7fea90dec3663 (diff) | |
download | vyos-1x-0e4b36f4c550baf151a1bbc68e4ed1bea8cd3c94.tar.gz vyos-1x-0e4b36f4c550baf151a1bbc68e4ed1bea8cd3c94.zip |
container: op-mode: T3765: move "connect container" command to container.xml.in file
Diffstat (limited to 'op-mode-definitions/containers.xml.in')
-rw-r--r-- | op-mode-definitions/containers.xml.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in index a22549dd9..4c95fa315 100644 --- a/op-mode-definitions/containers.xml.in +++ b/op-mode-definitions/containers.xml.in @@ -17,6 +17,19 @@ </node> </children> </node> + <node name="connect"> + <children> + <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> <node name="delete"> <children> <node name="container"> |