summaryrefslogtreecommitdiff
path: root/op-mode-definitions/connect.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/connect.xml.in')
-rw-r--r--op-mode-definitions/connect.xml.in9
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>