summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
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>