summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op-mode-definitions/show-version.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/show-version.xml b/op-mode-definitions/show-version.xml
index 905a4865c..caa5bcda7 100644
--- a/op-mode-definitions/show-version.xml
+++ b/op-mode-definitions/show-version.xml
@@ -6,13 +6,13 @@
<properties>
<help>Show system version information</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_version.py</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_version.py</command>
<children>
<leafNode name="funny">
<properties>
<help>Show system version and some fun stuff</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_version.py --funny</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_version.py --funny</command>
</leafNode>
<leafNode name="all">
<properties>