From 3eb4fac2234e4e2f93003873decbb194bcb7924d Mon Sep 17 00:00:00 2001 From: Marek Czernek Date: Sat, 17 Sep 2022 11:00:09 +0200 Subject: [PATCH] fix: Escape path in a command --- docs/04-certificate-authority.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/04-certificate-authority.md b/docs/04-certificate-authority.md index 1510993..dc5317f 100644 --- a/docs/04-certificate-authority.md +++ b/docs/04-certificate-authority.md @@ -396,7 +396,7 @@ Copy the appropriate certificates and private keys to each worker instance: ``` for instance in worker-0 worker-1 worker-2; do - gcloud compute scp ca.pem ${instance}-key.pem ${instance}.pem ${instance}:~/ + gcloud compute scp ca.pem ${instance}-key.pem ${instance}.pem "${instance}:~/" done ``` @@ -405,7 +405,7 @@ Copy the appropriate certificates and private keys to each controller instance: ``` for instance in controller-0 controller-1 controller-2; do gcloud compute scp ca.pem ca-key.pem kubernetes-key.pem kubernetes.pem \ - service-account-key.pem service-account.pem ${instance}:~/ + service-account-key.pem service-account.pem "${instance}:~/" done ```