Skip to content

Commit 9d5ca32

Browse files
committed
User Data modified for AL2023
1 parent c038a7e commit 9d5ca32

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/runners/templates/user-data.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c ssm:${ssm_key_cloudwatc
1111
%{ endif ~}
1212

1313
# Install docker
14-
amazon-linux-extras install docker
14+
yum install docker -y
1515
service docker start
1616
usermod -a -G docker ec2-user
1717

18-
yum install -y curl jq git
18+
chmod 666 /var/run/docker.sock
19+
20+
yum install -y curl jq git --allowerasing
1921

2022
USER_NAME=ec2-user
2123
${install_config_runner}

0 commit comments

Comments
 (0)