summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-09-10 11:28:53 -0700
committerhagbard <vyosdev@derith.de>2019-09-10 11:28:53 -0700
commitdb07e6fa76d90eaf80a06729753fb89266437674 (patch)
tree03fc289e6a3ab71d11e80a0d625338f4d506c33a /op-mode-definitions
parent1017c8103f12ebd6db4f250d8a154571fff32db1 (diff)
downloadvyos-1x-db07e6fa76d90eaf80a06729753fb89266437674.tar.gz
vyos-1x-db07e6fa76d90eaf80a06729753fb89266437674.zip
[wireguard]: T1650 - cli option to delete default wg key
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/wireguard.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml
index 785af202c..3c54c81bd 100644
--- a/op-mode-definitions/wireguard.xml
+++ b/op-mode-definitions/wireguard.xml
@@ -12,7 +12,7 @@
<properties>
<help>generate a wireguard keypair</help>
</properties>
- <command>${vyos_op_scripts_dir}/wireguard.py --genkey</command>
+ <command>sudo ${vyos_op_scripts_dir}/wireguard.py --genkey</command>
</leafNode>
<leafNode name="preshared-key">
<properties>
@@ -119,9 +119,9 @@
<help>Delete wireguard properties</help>
</properties>
<children>
- <tagNode name="named-keypair">
+ <tagNode name="keypair">
<properties>
- <help>Delete wireguard named keypair</help>
+ <help>Delete a wireguard keypair</help>
<completionHelp>
<script>${vyos_op_scripts_dir}/wireguard.py --listkdir</script>
</completionHelp>