summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-15 09:32:32 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-15 09:32:32 +0000
commit03e69f280725dae06ed5d30569a48e283031fd48 (patch)
tree3810cc83c7e0432d279f6054ce08dfe73cf6bd89
parent3c4e778d713b167b737ed673d1a68696c7cef145 (diff)
downloadvyos-1x-03e69f280725dae06ed5d30569a48e283031fd48.tar.gz
vyos-1x-03e69f280725dae06ed5d30569a48e283031fd48.zip
container: T4609: Fix restart container
Add 2 dashes for arg "name"
-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 a7048e5ed..97a087ce2 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 ${vyos_op_scripts_dir}/container.py restart name="$3"</command>
+ <command>sudo ${vyos_op_scripts_dir}/container.py restart --name="$3"</command>
</tagNode>
</children>
</node>