summaryrefslogtreecommitdiff
path: root/op-mode-definitions/container.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-26 07:51:09 +0100
committerGitHub <noreply@github.com>2023-01-26 07:51:09 +0100
commitbdd77b05d1fda6d2a1e4d10918ee52d913eff812 (patch)
tree164a99f617e2fd6ef60e48500caeb8aee1cada71 /op-mode-definitions/container.xml.in
parent8328e4393ad7cff4d2bd6291cd577048da270ccc (diff)
parent8a84cdb451b6568afb2b95ea8f66beb2983ba114 (diff)
downloadvyos-1x-bdd77b05d1fda6d2a1e4d10918ee52d913eff812.tar.gz
vyos-1x-bdd77b05d1fda6d2a1e4d10918ee52d913eff812.zip
Merge pull request #1781 from c-po/T4947-container-fixes
T4947: container: fix existing issues in equuleus after backport from 1.4
Diffstat (limited to 'op-mode-definitions/container.xml.in')
-rw-r--r--op-mode-definitions/container.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in
index 786bd66d3..78b3b7335 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 ${vyos_op_scripts_dir}/container.py show_container</command>
+ <command>sudo podman ps --all</command>
<children>
<leafNode name="image">
<properties>
<help>Show container image</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/container.py show_image</command>
+ <command>sudo podman image ls</command>
</leafNode>
<tagNode name="log">
<properties>
@@ -121,7 +121,7 @@
<properties>
<help>Show available container networks</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/container.py show_network</command>
+ <command>sudo podman network ls</command>
</leafNode>
</children>
</node>
@@ -149,7 +149,7 @@
<path>container name</path>
</completionHelp>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/container.py restart --name="$3"</command>
+ <command>sudo podman restart "$3"</command>
</tagNode>
</children>
</node>