From a50095408e9e95afebce97bccc62a2d9a2563b3e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 9 Sep 2021 23:16:13 +0200 Subject: wireguard: T3642: add deprecation notice to old commands for key generation --- op-mode-definitions/generate-wireguard.xml.in | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'op-mode-definitions/generate-wireguard.xml.in') diff --git a/op-mode-definitions/generate-wireguard.xml.in b/op-mode-definitions/generate-wireguard.xml.in index 6557b463b..259c9a898 100644 --- a/op-mode-definitions/generate-wireguard.xml.in +++ b/op-mode-definitions/generate-wireguard.xml.in @@ -4,9 +4,27 @@ - Generate Wireguard keys + Generate WireGuard keys + + + generates the wireguard default-keypair + + echo "This command is deprecated. Please use: \"generate pki wireguard key-pair\"" + + + + generate a wireguard preshared key + + echo "This command is deprecated. Please use: \"generate pki wireguard pre-shared-key\"" + + + + Generates named wireguard keypairs + + echo "This command is deprecated. Please use: \"generate pki wireguard key-pair install wgN\"" + Generate Client config QR code @@ -59,12 +77,6 @@ - - - Generate Wireguard key pair for use with server or peer - - sudo ${vyos_op_scripts_dir}/pki.py --action generate --wireguard --key "noname" - -- cgit v1.2.3