test/cases/ostree*: remove mod_ssl configuration file

It clashes with osbuild-composer already running on port 443.
This commit is contained in:
Martin Sehnoutka 2021-07-27 10:18:19 +02:00 committed by msehnout
parent b244227a2f
commit e6737f71d1
2 changed files with 10 additions and 0 deletions

View file

@ -243,6 +243,11 @@ check_result () {
###########################################################
greenprint "🔧 Prepare edge prod repo"
# Start prod repo web service
# osbuild-composer-tests have mod_ssl as a dependency. The package installs
# an example configuration which automatically enabled httpd on port 443, but
# that one is already in use. Remove the default configuration as it is useless
# anyway.
sudo rm -f /etc/httpd/conf.d/ssl.conf
sudo systemctl enable --now httpd.service
# Have a clean prod repo

View file

@ -277,6 +277,11 @@ build_image "$BLUEPRINT_FILE" ostree
# Start httpd to serve ostree repo.
greenprint "🚀 Starting httpd daemon"
# osbuild-composer-tests have mod_ssl as a dependency. The package installs
# an example configuration which automatically enabled httpd on port 443, but
# that one is already in use. Remove the default configuration as it is useless
# anyway.
sudo rm -f /etc/httpd/conf.d/ssl.conf
sudo systemctl start httpd
# Download the image and extract tar into web server root folder.