upstream/openstack/openstack-ironic/centos/stx-ironic.dev_docker_image
yuchengde b8b897a028 Upgrade openstack docker images for stable/ussuri
Update the directive files to be compatible with ussuri version build.
Since openstack ussuri images are based on python3 environment, we have
to install rh-python36-wsgi for httpd/apache and copy related files
into /etc/httpd/. Without this CUSTOMIZATION, apache could not work.

Story: 2007474
Task: 39179

Depends-on: https://review.opendev.org/#/c/731461/
Change-Id: I415ea75eb24d8b1c3151b63efd2e82075e68f26e
Signed-off-by: Yu Chengde <yu.chengde@99cloud.com>
2020-06-19 00:09:10 +08:00

14 lines
540 B
Plaintext

BUILDER=loci
LABEL=stx-ironic
PROJECT=ironic
PROJECT_REPO=https://opendev.org/openstack/ironic.git
PIP_PACKAGES="pylint alembic pysnmp"
DIST_PACKAGES="ipxe-bootimgs tftp-server OpenIPMI ipmitool iproute qemu-img syslinux-tftpboot iscsi-initiator-utils"
PROFILES="ironic apache"
CUSTOMIZATION="\
sudo cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-rh-python36-wsgi.conf /etc/httpd/conf.modules.d/10-wsgi.conf && \
sudo cp /opt/rh/httpd24/root/usr/lib64/httpd/modules/mod_rh-python36-wsgi.so /etc/httpd/modules/ \
"
PYTHON3=yes