From 8ec636271de62a2d170358ee39240dd49383c557 Mon Sep 17 00:00:00 2001 From: GGC Date: Wed, 14 Sep 2016 19:37:20 -0700 Subject: [PATCH] jq -j is not a valid option. I think the author meant jq -r --- docs/02-certificate-authority.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-certificate-authority.md b/docs/02-certificate-authority.md index 71fa0c9..2ccaf36 100644 --- a/docs/02-certificate-authority.md +++ b/docs/02-certificate-authority.md @@ -237,7 +237,7 @@ The following command will: for host in ${KUBERNETES_HOSTS[*]}; do PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \ --filters "Name=tag:Name,Values=${host}" | \ - jq -j '.Reservations[].Instances[].PublicIpAddress') + jq -r '.Reservations[].Instances[].PublicIpAddress') scp ca.pem kubernetes-key.pem kubernetes.pem \ ubuntu@${PUBLIC_IP_ADDRESS}:~/ done