From 0cdaa4362f1bf7ac1be93b6ecc8eba3b0951d960 Mon Sep 17 00:00:00 2001 From: Aaron U'Ren Date: Thu, 6 Dec 2018 19:04:52 -0600 Subject: [PATCH] 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. --- docs/bgp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bgp.md b/docs/bgp.md index d7e2a476..b593f4a3 100644 --- a/docs/bgp.md +++ b/docs/bgp.md @@ -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