test/cases/ostree*: remove mod_ssl configuration file
It clashes with osbuild-composer already running on port 443.
This commit is contained in:
parent
b244227a2f
commit
e6737f71d1
2 changed files with 10 additions and 0 deletions
|
|
@ -243,6 +243,11 @@ check_result () {
|
||||||
###########################################################
|
###########################################################
|
||||||
greenprint "🔧 Prepare edge prod repo"
|
greenprint "🔧 Prepare edge prod repo"
|
||||||
# Start prod repo web service
|
# 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
|
sudo systemctl enable --now httpd.service
|
||||||
|
|
||||||
# Have a clean prod repo
|
# Have a clean prod repo
|
||||||
|
|
|
||||||
|
|
@ -277,6 +277,11 @@ build_image "$BLUEPRINT_FILE" ostree
|
||||||
|
|
||||||
# Start httpd to serve ostree repo.
|
# Start httpd to serve ostree repo.
|
||||||
greenprint "🚀 Starting httpd daemon"
|
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
|
sudo systemctl start httpd
|
||||||
|
|
||||||
# Download the image and extract tar into web server root folder.
|
# Download the image and extract tar into web server root folder.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue