summaryrefslogtreecommitdiff
path: root/op-mode-definitions/wireguard.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/wireguard.xml.in')
-rw-r--r--op-mode-definitions/wireguard.xml.in21
1 files changed, 0 insertions, 21 deletions
diff --git a/op-mode-definitions/wireguard.xml.in b/op-mode-definitions/wireguard.xml.in
index 04e200b32..201c1290f 100644
--- a/op-mode-definitions/wireguard.xml.in
+++ b/op-mode-definitions/wireguard.xml.in
@@ -1,5 +1,4 @@
<?xml version="1.0"?>
-<!-- Wireguard key management -->
<interfaceDefinition>
<node name="generate">
<children>
@@ -95,24 +94,4 @@
</node>
</children>
</node>
- <node name="delete">
- <children>
- <node name="wireguard">
- <properties>
- <help>Delete Wireguard properties</help>
- </properties>
- <children>
- <tagNode name="keypair">
- <properties>
- <help>Delete a Wireguard keypair</help>
- <completionHelp>
- <script>${vyos_op_scripts_dir}/wireguard.py --listkdir</script>
- </completionHelp>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/wireguard.py --delkdir --location "$4"</command>
- </tagNode>
- </children>
- </node>
- </children>
- </node>
</interfaceDefinition>