diff options
author | Robert Göhler <github@ghlr.de> | 2023-11-21 20:37:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 20:37:51 +0100 |
commit | ca33735cfc607ab08574a770ca439f60cda8a31d (patch) | |
tree | 9b9e1e83ae00d5d6fc84084bc4b669cb9c33011d | |
parent | 56dca14a328b8eeb68c099266e7288873a8d5581 (diff) | |
parent | c32a5a06c4d59dbd54f6460e4c218c374c17057b (diff) | |
download | vyos-documentation-ca33735cfc607ab08574a770ca439f60cda8a31d.tar.gz vyos-documentation-ca33735cfc607ab08574a770ca439f60cda8a31d.zip |
Merge pull request #1156 from greenpsi/wireguard-pki-update
Update wireguard pki command syntax
-rw-r--r-- | docs/configexamples/autotest/Wireguard/Wireguard.rst | 2 | ||||
-rw-r--r-- | docs/configuration/pki/index.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/configexamples/autotest/Wireguard/Wireguard.rst b/docs/configexamples/autotest/Wireguard/Wireguard.rst index 93092afe..7e287bcf 100644 --- a/docs/configexamples/autotest/Wireguard/Wireguard.rst +++ b/docs/configexamples/autotest/Wireguard/Wireguard.rst @@ -44,7 +44,7 @@ After this, the public key can be displayed, to save for later. .. code-block:: none - vyos@central:~$ generate pki wireguard + vyos@central:~$ generate pki wireguard key-pair Private key: cMNGHtb5dW92ORG3HS8JJlvQF8pmVGt2Ydny8hTBLnY= Public key: WyfLCTXi31gL+YbYOwoAHCl2RgS+y56cYHEK6pQsTQ8= diff --git a/docs/configuration/pki/index.rst b/docs/configuration/pki/index.rst index e83272f5..66ad84a3 100644 --- a/docs/configuration/pki/index.rst +++ b/docs/configuration/pki/index.rst @@ -148,11 +148,11 @@ WireGuard ``interface`` is used for the VyOS CLI command to identify the WireGuard interface where this private key is to be used. -.. opcmd:: generate pki wireguard pre-shared-key +.. opcmd:: generate pki wireguard preshared-key Generate a WireGuard pre-shared secret used for peers to communicate. -.. opcmd:: generate pki wireguard pre-shared-key install <peer> +.. opcmd:: generate pki wireguard preshared-key install <peer> Generate a WireGuard pre-shared secret used for peers to communicate. |