diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-08 22:21:40 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-08 22:21:40 +0200 |
commit | b40e57cc9b516f4ce206681a17f8624a2ab04139 (patch) | |
tree | ffe2636c25097a0cd2e01cf94d9fbbcb9b437a98 /op-mode-definitions | |
parent | 9cde21563cd291c3ccd3c629e4d491277ee1f356 (diff) | |
download | vyos-1x-b40e57cc9b516f4ce206681a17f8624a2ab04139.tar.gz vyos-1x-b40e57cc9b516f4ce206681a17f8624a2ab04139.zip |
pki: wireguard: T3642: add alias "generate wireguard key-pair" command
Triggers the same code as "generate pki wireguard key-pair" which makes it easier
for users switching from 1.3 -> 1.4.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/generate-wireguard.xml.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/generate-wireguard.xml.in b/op-mode-definitions/generate-wireguard.xml.in index 6f9f62a30..6557b463b 100644 --- a/op-mode-definitions/generate-wireguard.xml.in +++ b/op-mode-definitions/generate-wireguard.xml.in @@ -59,6 +59,12 @@ </tagNode> </children> </tagNode> + <leafNode name="key-pair"> + <properties> + <help>Generate Wireguard key pair for use with server or peer</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/pki.py --action generate --wireguard --key "noname"</command> + </leafNode> </children> </node> </children> |