summaryrefslogtreecommitdiff
path: root/op-mode-definitions/container.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-02 13:02:05 +0200
committerGitHub <noreply@github.com>2022-08-02 13:02:05 +0200
commit5edd93744c8bed47c83d021048edb9f8d4117c6f (patch)
tree993229ca3165ecf6e1519ddf7b9936d81ec6fe27 /op-mode-definitions/container.xml.in
parent258e6873b60531fe70d868d2e53ce2f921fe7f13 (diff)
parent2958c9067f1387a46c1146a1fbc5a38e89634ed2 (diff)
downloadvyos-1x-5edd93744c8bed47c83d021048edb9f8d4117c6f.tar.gz
vyos-1x-5edd93744c8bed47c83d021048edb9f8d4117c6f.zip
Merge pull request #1454 from sever-sever/T4585
container: T4585: Rewrite show container
Diffstat (limited to 'op-mode-definitions/container.xml.in')
-rw-r--r--op-mode-definitions/container.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in
index fa66402dc..90bbc6889 100644
--- a/op-mode-definitions/container.xml.in
+++ b/op-mode-definitions/container.xml.in
@@ -100,13 +100,13 @@
<properties>
<help>Show containers</help>
</properties>
- <command>sudo podman ps --all</command>
+ <command>sudo ${vyos_op_scripts_dir}/container.py show_container</command>
<children>
<leafNode name="image">
<properties>
<help>Show container image</help>
</properties>
- <command>sudo podman image ls</command>
+ <command>sudo ${vyos_op_scripts_dir}/container.py show_image</command>
</leafNode>
<tagNode name="log">
<properties>
@@ -121,7 +121,7 @@
<properties>
<help>Show available container networks</help>
</properties>
- <command>sudo podman network ls</command>
+ <command>sudo ${vyos_op_scripts_dir}/container.py show_network</command>
</leafNode>
</children>
</node>