summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-04 07:33:53 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-04 07:37:55 +0100
commit467eb1f18ec971d6d3913d9ecc58b241db104f0d (patch)
treef3b54566139939a4c7a5a3283bceb7530265e6b1 /op-mode-definitions
parent9ad20a63b3f5557ea03e8778f29a173bb5f56cef (diff)
downloadvyos-1x-467eb1f18ec971d6d3913d9ecc58b241db104f0d.tar.gz
vyos-1x-467eb1f18ec971d6d3913d9ecc58b241db104f0d.zip
op-mode: disk: T4045: cleanup code to use python f'ormat strings
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/disks.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/disks.xml.in b/op-mode-definitions/disks.xml.in
index 2102a2e8e..117ac5065 100644
--- a/op-mode-definitions/disks.xml.in
+++ b/op-mode-definitions/disks.xml.in
@@ -20,7 +20,7 @@
<script>${vyos_completion_dir}/list_disks.py --exclude ${COMP_WORDS[2]}</script>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/format_disk.py --target $3 --proto $5</command>
+ <command>sudo ${vyos_op_scripts_dir}/format_disk.py --target $3 --proto $5</command>
</tagNode>
</children>
</tagNode>