diff --git a/content/prerequisites/installtools.md b/content/prerequisites/installtools.md index a96baea..5d7cf2b 100644 --- a/content/prerequisites/installtools.md +++ b/content/prerequisites/installtools.md @@ -29,7 +29,11 @@ sudo chmod +x /usr/local/bin/kubectl echo 'source <(kubectl completion bash)' >>~/.bashrc source ~/.bashrc -curl --silent --location "https://github.com/weaveworks/eksctl/releases/download/latest_release/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp +ARCH=amd64 +PLATFORM=$(uname -s)_$ARCH +curl -sLO "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_$PLATFORM.tar.gz" +tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && rm eksctl_$PLATFORM.tar.gz + sudo mv -v /tmp/eksctl /usr/local/bin if ! [ -x "$(command -v jq)" ] || ! [ -x "$(command -v envsubst)" ] || ! [ -x "$(command -v kubectl)" ] || ! [ -x "$(command -v eksctl)" ] || ! [ -x "$(command -v ssm-cli)" ]; then