commit e53c6c2c28741561e59baf48ea42b7ab86b02386 Author: Ronelle Landy Date: Fri Oct 2 11:48:20 2020 -0400 Add var to pass RHEL module streams in image builds https://opendev.org/openstack/diskimage-builder/commit/52993719574c72c6af2ed05d61f40056e9359b18 added the option to specify the module streams when building images on RHEL. This review adds that option, if the var is defined. Change-Id: I7bea22440d2411dc5f3cff03aef330e3ef205772 diff --git a/roles/oooci-build-images/templates/build-images.sh.j2 b/roles/oooci-build-images/templates/build-images.sh.j2 index 5779d27..4d1a127 100644 --- a/roles/oooci-build-images/templates/build-images.sh.j2 +++ b/roles/oooci-build-images/templates/build-images.sh.j2 @@ -59,6 +59,12 @@ export DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean*" {% endif %} +{% if dib_dnf_module_streams is defined %} + +export DIB_DNF_MODULE_STREAMS="{{ dib_dnf_module_streams }}" + +{% endif %} + export DIB_DEBUG_TRACE=1 openstack --debug overcloud image build {% if not build_all_images|bool %}--image-name {{ tripleo_image_type }}{% endif %} \