Skip to content

Commit e5e208c

Browse files
committed
fix path to awsv2
1 parent 2380c86 commit e5e208c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Container-Root/hyperpod/setup/install-aws-cli.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ echo "$URL"
1313
# Install aws cli
1414
curl "$URL" -o "awscliv2.zip"
1515
unzip awscliv2.zip
16-
sudo ./aws/install --update --bin-dir /usr/local/bin
17-
sudo cp -f /usr/local/bin/aws /bin/aws
16+
sudo ./aws/install --update --install-dir /usr/local/aws-cli
17+
sudo ln -s /usr/local/aws-cli/v2/current/dist/aws /usr/local/bin/aws
18+
sudo ln -s /usr/local/aws-cli/v2/current/dist/aws /bin/aws
1819
aws --version
1920
rm -rf ./aws
2021
rm -f awscliv2.zip

0 commit comments

Comments
 (0)