summaryrefslogtreecommitdiff
path: root/op-mode-definitions/container.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/container.xml.in')
-rw-r--r--op-mode-definitions/container.xml.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in
index df28a792c..70ab4b6e5 100644
--- a/op-mode-definitions/container.xml.in
+++ b/op-mode-definitions/container.xml.in
@@ -89,7 +89,7 @@
<path>container name</path>
</completionHelp>
</properties>
- <command>podman logs --follow --names "$4"</command>
+ <command>${vyos_op_scripts_dir}/container.py show_log --follow --name "$4"</command>
</tagNode>
</children>
</node>
@@ -132,8 +132,7 @@
<path>container name</path>
</completionHelp>
</properties>
- <!-- no admin check -->
- <command>podman logs --names "$4"</command>
+ <command>${vyos_op_scripts_dir}/container.py show_log --name "$4"</command>
</tagNode>
<node name="network">
<properties>
@@ -162,7 +161,7 @@
<path>container name</path>
</completionHelp>
</properties>
- <command>podman logs --names "$4"</command>
+ <command>${vyos_op_scripts_dir}/container.py show_log --name "$4"</command>
</tagNode>
</children>
</node>