From 50da2e1047b1b0b03076d1d45132aaaec09d74f4 Mon Sep 17 00:00:00 2001 From: redsoxfantom Date: Mon, 29 Jan 2024 10:22:57 -0500 Subject: [PATCH] No need to install jq --- docs/07-bootstrapping-etcd.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/07-bootstrapping-etcd.md b/docs/07-bootstrapping-etcd.md index 2637dee..247c7a7 100644 --- a/docs/07-bootstrapping-etcd.md +++ b/docs/07-bootstrapping-etcd.md @@ -62,9 +62,7 @@ INTERNAL_IP=$(curl -s -H "Metadata-Flavor: Google" \ ```az``` ``` -sudo apt-get update -sudo apt-get install -y jq -INTERNAL_IP=$(curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq -r '.network.interface[0].ipv4.ipAddress[0].privateIpAddress') +INTERNAL_IP=$(curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/network/interface/0/ipv4/ipAddress/0/privateIpAddress?api-version=2021-02-01&format=text") ``` Each etcd member must have a unique name within an etcd cluster. Set the etcd name to match the hostname of the current compute instance: