summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-raid.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-17 10:55:26 +0100
committerChristian Poessinger <christian@poessinger.com>2022-12-17 10:55:26 +0100
commit672b6cc486f140e5598abd41be9d5daebc422b40 (patch)
treeb508dc8174d3a848c2d0554eac8b6270b6f2c139 /op-mode-definitions/show-raid.xml.in
parenta3444c686427e94e90b531da0a9effc025925f6f (diff)
downloadvyos-1x-672b6cc486f140e5598abd41be9d5daebc422b40.tar.gz
vyos-1x-672b6cc486f140e5598abd41be9d5daebc422b40.zip
op-mode: T707: explicitly use sudo when working with RAID devices
Diffstat (limited to 'op-mode-definitions/show-raid.xml.in')
-rw-r--r--op-mode-definitions/show-raid.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-raid.xml.in b/op-mode-definitions/show-raid.xml.in
index 8bf394552..2ae3fad6a 100644
--- a/op-mode-definitions/show-raid.xml.in
+++ b/op-mode-definitions/show-raid.xml.in
@@ -9,7 +9,7 @@
<script>${vyos_completion_dir}/list_raidset.sh</script>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/show_raid.sh $3</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_raid.sh $3</command>
</tagNode>
</children>
</node>