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:
Aaron U'Ren 2018-12-06 19:04:52 -06:00 committed by Joakim Karlsson
parent 46f8265e1b
commit 0cdaa4362f

View File

@ -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:
```
$ echo "SecurePassword" | base64
U2VjdXJlUGFzc3dvcmQK
$ printf "SecurePassword" | base64
U2VjdXJlUGFzc3dvcmQ=
```
#### Password Configuration Examples