summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-02 14:33:57 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-02 14:33:57 +0000
commit08cb762347208b21a8cbf81f7b35707d7e6dd4ac (patch)
tree77f2632c5b4b2d0ec5aeff8a814e4c6136875ab2 /op-mode-definitions
parentb72a7dc0fd33f1f0bca9016ed4d70effc55bfd75 (diff)
downloadvyos-1x-08cb762347208b21a8cbf81f7b35707d7e6dd4ac.tar.gz
vyos-1x-08cb762347208b21a8cbf81f7b35707d7e6dd4ac.zip
containers: T4585: Add option restart to containers.py
Add option restart to `containers.py`
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/container.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in
index 90bbc6889..a7048e5ed 100644
--- a/op-mode-definitions/container.xml.in
+++ b/op-mode-definitions/container.xml.in
@@ -149,7 +149,7 @@
<path>container name</path>
</completionHelp>
</properties>
- <command>sudo podman restart "$3"</command>
+ <command>sudo ${vyos_op_scripts_dir}/container.py restart name="$3"</command>
</tagNode>
</children>
</node>