diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-07-19 11:12:33 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-07-19 19:11:33 +0200 |
commit | 75fbbc836d8a2fe521c2fa97a385266b693cde21 (patch) | |
tree | b2e2dd1de20b0c44301a9dc18e2201b9e085871b /src/op_mode/wireguard_client.py | |
parent | 48c768abbf53b752a55db2adea1f998cb28da55c (diff) | |
download | vyos-1x-75fbbc836d8a2fe521c2fa97a385266b693cde21.tar.gz vyos-1x-75fbbc836d8a2fe521c2fa97a385266b693cde21.zip |
pki: wireguard: T3642: Migrate Wireguard private key directly into CLI
Also renames peer pubkey to public-key for consistency
Diffstat (limited to 'src/op_mode/wireguard_client.py')
-rwxr-xr-x | src/op_mode/wireguard_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/wireguard_client.py b/src/op_mode/wireguard_client.py index 7a620a01e..7661254da 100755 --- a/src/op_mode/wireguard_client.py +++ b/src/op_mode/wireguard_client.py @@ -38,7 +38,7 @@ To enable this configuration on a VyOS router you can use the following commands {% for addr in address if address is defined %} set interfaces wireguard {{ interface }} peer {{ name }} allowed-ips '{{ addr }}' {% endfor %} -set interfaces wireguard {{ interface }} peer {{ name }} pubkey '{{ pubkey }}' +set interfaces wireguard {{ interface }} peer {{ name }} public-key '{{ pubkey }}' """ client_config = """ |