Skip to content

Commit 52ade21

Browse files
committed
Do firewall setup on amazon linux 2023 as well.
1 parent d3a86ff commit 52ade21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tfe_init_replicated/templates/tfe_replicated.sh.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ $install_pathname \
288288
# -----------------------------------------------------------------------------
289289
# Add docker0 to firewalld (for Red Hat instances only)
290290
# -----------------------------------------------------------------------------
291-
%{ if distribution == "rhel" && cloud != "google" ~}
291+
%{ if distribution == "amazon-linux-2023" || distribution == "rhel" && cloud != "google" ~}
292292
os_release=$(cat /etc/os-release | grep VERSION_ID | sed "s/VERSION_ID=\"\(.*\)\"/\1/g")
293293
if (( $(echo "$os_release < 8.0" | bc -l ) )); then
294294
echo "[$(date +"%FT%T")] [Terraform Enterprise] Disable SELinux (temporary)" | tee -a $log_pathname

0 commit comments

Comments
 (0)