diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-04 07:33:53 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-04 07:39:01 +0100 |
commit | e151c113e9e7153efb6cbf4216f2114b834d57ff (patch) | |
tree | 590d3b1d0ab2b18c87c60bf529a0d16ec83d967f /op-mode-definitions | |
parent | ec87a76e1db39e30e21f3b9101fb36b2e543671f (diff) | |
download | vyos-1x-e151c113e9e7153efb6cbf4216f2114b834d57ff.tar.gz vyos-1x-e151c113e9e7153efb6cbf4216f2114b834d57ff.zip |
op-mode: disk: T4045: cleanup code to use python f'ormat strings
(cherry picked from commit 467eb1f18ec971d6d3913d9ecc58b241db104f0d)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/disks.xml.in | 2 |
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> |