Merge pull request #60 from mydharma/patch-1

jq -j is not a valid option. I think the author meant jq -r
pull/55/head^2
Kelsey Hightower 2016-09-15 20:25:32 -07:00 committed by GitHub
commit 7fe980da3e
1 changed files with 1 additions and 1 deletions

View File

@ -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