Merge pull request #60 from mydharma/patch-1
jq -j is not a valid option. I think the author meant jq -rpull/55/head^2
commit
7fe980da3e
|
@ -237,7 +237,7 @@ The following command will:
|
||||||
for host in ${KUBERNETES_HOSTS[*]}; do
|
for host in ${KUBERNETES_HOSTS[*]}; do
|
||||||
PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \
|
PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \
|
||||||
--filters "Name=tag:Name,Values=${host}" | \
|
--filters "Name=tag:Name,Values=${host}" | \
|
||||||
jq -j '.Reservations[].Instances[].PublicIpAddress')
|
jq -r '.Reservations[].Instances[].PublicIpAddress')
|
||||||
scp ca.pem kubernetes-key.pem kubernetes.pem \
|
scp ca.pem kubernetes-key.pem kubernetes.pem \
|
||||||
ubuntu@${PUBLIC_IP_ADDRESS}:~/
|
ubuntu@${PUBLIC_IP_ADDRESS}:~/
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue