summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-22 23:05:34 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-22 23:15:36 +0200
commit5bcca8f59314296a7391671ca7d33618ce346495 (patch)
tree6ac7fbd612108132816ab3adc895e88c270367dc
parentad80507e4c61a71f2e3610d04d204de03a883358 (diff)
downloadvyos-1x-5bcca8f59314296a7391671ca7d33618ce346495.tar.gz
vyos-1x-5bcca8f59314296a7391671ca7d33618ce346495.zip
pki: wireguard: T3642: remove obsolete "delete wireguard keypair" command
As the keys are now stored inside the CLI configuration and no longer in a file on the filesystem, this command is no longer required.
-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>