From c96c3ea2ed672394b04fcae924d351565ec9dc6c Mon Sep 17 00:00:00 2001
From: sarthurdev <965089+sarthurdev@users.noreply.github.com>
Date: Mon, 19 Jul 2021 13:50:12 +0200
Subject: pki: wireguard: T3642: Replace/remove old Wireguard op-mode commands
---
op-mode-definitions/wireguard.xml.in | 41 ++++++++----------------------------
1 file changed, 9 insertions(+), 32 deletions(-)
(limited to 'op-mode-definitions')
diff --git a/op-mode-definitions/wireguard.xml.in b/op-mode-definitions/wireguard.xml.in
index a84980b44..ac3daa3b8 100644
--- a/op-mode-definitions/wireguard.xml.in
+++ b/op-mode-definitions/wireguard.xml.in
@@ -8,24 +8,6 @@
Generate Wireguard keys
-
-
- Generate the default Wireguard keypair
-
- sudo ${vyos_op_scripts_dir}/wireguard.py --genkey
-
-
-
- Generate a Wireguard preshared key
-
- ${vyos_op_scripts_dir}/wireguard.py --genpsk
-
-
-
- Generate specified Wireguard keypairs
-
- sudo ${vyos_op_scripts_dir}/wireguard.py --genkey --location "$4"
-
Generate Client config QR code
@@ -94,25 +76,20 @@
Show Wireguard keys
-
+
- Show specified Wireguard public key
-
-
-
+ Show Wireguard public keys
- ${vyos_op_scripts_dir}/wireguard.py --showpub --location "$5"
-
-
+ ${vyos_op_scripts_dir}/wireguard.py --showpub
+
+
- Show specified Wireguard private key
-
-
-
+ Show Wireguard private keys
- ${vyos_op_scripts_dir}/wireguard.py --showpriv --location "$5"
-
+ ${vyos_op_scripts_dir}/wireguard.py --showpriv
+
+ ${vyos_op_scripts_dir}/wireguard.py --showpub --showpriv
--
cgit v1.2.3