Skip to content

Commit

Permalink
Merge pull request #603 from rust-lang/fix-install-aws-cli-correctly-…
Browse files Browse the repository at this point in the history
…in-crater-agent

fix: install aws cli correctly in crater agent
  • Loading branch information
MarcoIeni authored Oct 7, 2024
2 parents 348f78a + 5ed6ae2 commit a82158c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion terraform/crater/startup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ set -euo pipefail
mkdir -p /opt
cd /opt
sudo apt update
sudo apt install -y vim jq docker.io awscli
sudo apt install -y vim jq docker.io unzip

# Install aws cli per instructions (https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

sudo systemctl unmask docker.service
sudo systemctl start docker.service
Expand Down

0 comments on commit a82158c

Please sign in to comment.