diff options
author | hagbard <vyosdev@derith.de> | 2019-09-10 12:31:49 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-09-10 12:31:49 -0700 |
commit | a237bd44396f849f7f3c35d2ea6928edb1c93ea4 (patch) | |
tree | 03fc289e6a3ab71d11e80a0d625338f4d506c33a | |
parent | e85c90bf3188c24c6a88c6a96a0d7fc30c221905 (diff) | |
download | vyos-1x-a237bd44396f849f7f3c35d2ea6928edb1c93ea4.tar.gz vyos-1x-a237bd44396f849f7f3c35d2ea6928edb1c93ea4.zip |
Revert "[wireguard] - remove 'show wireguard keypair'"
This reverts commit e85c90bf3188c24c6a88c6a96a0d7fc30c221905.
-rw-r--r-- | op-mode-definitions/wireguard.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml index c509dcad3..3c54c81bd 100644 --- a/op-mode-definitions/wireguard.xml +++ b/op-mode-definitions/wireguard.xml @@ -8,13 +8,19 @@ <help>wireguard key generation utility</help> </properties> <children> + <leafNode name="keypair"> + <properties> + <help>generate a wireguard keypair</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/wireguard.py --genkey</command> + </leafNode> <leafNode name="preshared-key"> <properties> <help>generate a wireguard preshared key</help> </properties> <command>${vyos_op_scripts_dir}/wireguard.py --genpsk</command> </leafNode> - <tagNode name="keypairs"> + <tagNode name="named-keypairs"> <properties> <help>Generates named wireguard keypairs</help> </properties> |