From 11f8c7cce414f8616a6c12e8ef49a442cc9596e4 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 2 Mar 2024 08:37:51 +1100 Subject: [PATCH] Add dummy item for iptables --- koji-setup/koji-deploy-hub.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koji-setup/koji-deploy-hub.sh b/koji-setup/koji-deploy-hub.sh index 266b952..4068590 100644 --- a/koji-setup/koji-deploy-hub.sh +++ b/koji-setup/koji-deploy-hub.sh @@ -301,6 +301,10 @@ cat > /etc/httpd/conf.modules.d/ssl.conf <<- EOF LoadModule ssl_module lib/httpd/modules/mod_ssl.so EOF +# Firewall stuff +if systemctl status iptables >/dev/null 2>&1; then + # set iptables rules for http and https +fi if firewall-cmd --state >/dev/null 2>&1; then # allow httpd access through firewall firewall-cmd --permanent --add-service=http