diff options
author | greenpsi <git@psinet.dev> | 2023-11-17 00:15:04 +0100 |
---|---|---|
committer | greenpsi <git@psinet.dev> | 2023-11-17 00:15:04 +0100 |
commit | c32a5a06c4d59dbd54f6460e4c218c374c17057b (patch) | |
tree | 8923828623a94c915b2a04e9fb5ea8fec88381c5 | |
parent | 403bca3bad5c3ed285d84f9bf28c64254f7fda4e (diff) | |
download | vyos-documentation-c32a5a06c4d59dbd54f6460e4c218c374c17057b.tar.gz vyos-documentation-c32a5a06c4d59dbd54f6460e4c218c374c17057b.zip |
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. |