Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit af31aa8

Browse files
wleepangcrabba
authored andcommitted
ensure non-shimmed aws is used by host instance
1 parent c3872bf commit af31aa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ecs-additions/ecs-additions-common.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ cp /opt/ecs-additions/awscli-shim.sh /opt/aws-cli/bin/aws # Use
1414
rm -f /usr/local/aws-cli/v2/current/bin/aws
1515
cp /opt/ecs-additions/awscli-shim.sh /usr/local/aws-cli/v2/current/bin/aws # Used in Cromwell
1616

17+
# ensure that /usr/bin/aws points to the non-shimmed version
18+
ln -sf /usr/local/aws-cli/v2/current/dist/aws /usr/bin/aws
19+
1720
# add 4GB of swap space
1821
dd if=/dev/zero of=/swapfile bs=128M count=32
1922
chmod 600 /swapfile

0 commit comments

Comments
 (0)