mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-23 07:41:03 +02:00
docs/bgp.md: change example to use printf (#594)
Using echo places a new-line character at the end of the base64 generated string which will cause peering to fail for most use-cases as it is unlikely to be present in the configuration of the other peer.
This commit is contained in:
parent
46f8265e1b
commit
0cdaa4362f
@ -120,8 +120,8 @@ kube-router requires that they are encoded as base64.
|
|||||||
|
|
||||||
On a Linux or MacOS system you can encode your passwords on the command line:
|
On a Linux or MacOS system you can encode your passwords on the command line:
|
||||||
```
|
```
|
||||||
$ echo "SecurePassword" | base64
|
$ printf "SecurePassword" | base64
|
||||||
U2VjdXJlUGFzc3dvcmQK
|
U2VjdXJlUGFzc3dvcmQ=
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Password Configuration Examples
|
#### Password Configuration Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user