File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
modules/tfe_init_replicated/templates Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ function install_packages {
16
16
17
17
%{ if distribution == "amazon-linux-2023" ~}
18
18
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
21
22
22
23
systemctl start docker
23
24
systemctl enable docker
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ $install_pathname \
288
288
# -----------------------------------------------------------------------------
289
289
# Add docker0 to firewalld (for Red Hat instances only)
290
290
# -----------------------------------------------------------------------------
291
- %{ if distribution == " rhel" && cloud ! = " google" ~ }
291
+ %{ if distribution == " amazon-linux-2023 " || distribution == " rhel" && cloud ! = " google" ~ }
292
292
os_release=$( cat /etc/os-release | grep VERSION_ID | sed " s/VERSION_ID=\" \(.*\)\" /\1/g" )
293
293
if (( $(echo "$os_release < 8 .0 " | bc - l ) )) ; then
294
294
echo " [$( date +" %FT%T" ) ] [Terraform Enterprise] Disable SELinux (temporary)" | tee -a $log_pathname
You can’t perform that action at this time.
0 commit comments