Skip to content

Commit 3ef3f29

Browse files
committed
Update install_packages.func
1 parent 52ade21 commit 3ef3f29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/tfe_init_replicated/templates/install_packages.func

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ function install_packages {
1616

1717
%{ if distribution == "amazon-linux-2023" ~}
1818
echo "[$(date +"%FT%T")] [Terraform Enterprise] Remove existing docker and install v24 with yum" | tee -a $log_pathname
19-
yum remove docker -y
20-
yum install docker-24.0.5-1.amzn2023.0.3 -y
19+
yum -y remove docker
20+
yum clean packages
21+
yum -y install docker-24.0.5-1.amzn2023.0.3
2122

2223
systemctl start docker
2324
systemctl enable docker

0 commit comments

Comments
 (0)