aboutsummaryrefslogtreecommitdiff
path: root/kolla/docker/httpd/httpd_setup.sh
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2026-07-20 10:53:38 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2026-09-10 11:20:18 +0000
commitf1d7da742d058d893f6abf3c0a21efaf940187b4 (patch)
tree30abe009a34f37fdb9dfc1d424d9b366f5097b47 /kolla/docker/httpd/httpd_setup.sh
parente30a8df63633177915b95b0c94a03abf6c0b86fc (diff)
downloadkolla-f1d7da742d058d893f6abf3c0a21efaf940187b4.tar.gz
kolla-f1d7da742d058d893f6abf3c0a21efaf940187b4.zip
Drop support for CentOS Stream 10
Change-Id: I5973943fe83bbb00cfc8623c0cd4d4b98b369315 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'kolla/docker/httpd/httpd_setup.sh')
-rw-r--r--kolla/docker/httpd/httpd_setup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/kolla/docker/httpd/httpd_setup.sh b/kolla/docker/httpd/httpd_setup.sh
index 35f7b5b1e..5188c5518 100644
--- a/kolla/docker/httpd/httpd_setup.sh
+++ b/kolla/docker/httpd/httpd_setup.sh
@@ -17,7 +17,7 @@ if [[ "$(whoami)" == 'root' ]]; then
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
- # NOTE(mmalchuk): This added to make Rocky/Centos similar to Ubuntu/Debian
+ # NOTE(mmalchuk): This added to make Rocky similar to Ubuntu/Debian
# to provide /server-status handler for local monitoring of the Apache.
# The module already loaded in the /etc/httpd/conf.modules.d/00-base.conf.
cat << EOF >/etc/httpd/conf.modules.d/99-server-status.conf
@@ -28,13 +28,13 @@ if [[ "$(whoami)" == 'root' ]]; then
EOF
fi
- # CentOS/Rocky have an issue with mod_ssl which produces an invalid Apache
+ # Rocky have an issue with mod_ssl which produces an invalid Apache
# configuration in /etc/httpd/conf.d/ssl.conf. This causes the following error
# on startup:
# SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
# Work around this by generating certificates manually.
# NOTE(mnasiadka): in EL9 upgrade jobs gencerts is failing on wrong permissions to dhparams.pem
- if [[ "${KOLLA_BASE_DISTRO}" =~ centos|rocky ]] && [[ ! -e /etc/pki/tls/certs/localhost.crt ]]; then
+ if [[ "${KOLLA_BASE_DISTRO}" =~ rocky ]] && [[ ! -e /etc/pki/tls/certs/localhost.crt ]]; then
rm -f /tmp/dhparams.pem
/usr/libexec/httpd-ssl-gencerts
fi