@@ -39,6 +39,9 @@ ENV PS1="$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(ho
39
39
# enables to provide repo overrides at a later date in a simple fashion if we
40
40
# desire such functionality. I think we will :)
41
41
42
+ ENV KOLLA_RPM_OVS_VERSION=3.5 \
43
+ KOLLA_RPM_OVN_VERSION=25.03
44
+
42
45
RUN cat /tmp/kolla_bashrc >> /etc/bashrc \
43
46
&& sed -i 's|^\(override_install_langs=.*\)|# \1|' /etc/dnf/dnf.conf
44
47
@@ -142,29 +145,15 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
142
145
{% set base_centos_yum_repos_to_enable = [
143
146
] %}
144
147
145
- # FIXME(hrw): entries not starting with 'centos-' (and 'centos-nfv-ovs') are
146
- # from delorean or rdo-release-* package
147
- # https://review.rdoproject.org/r/c/rdo-infra/ansible-role-dlrn/+/33241
148
148
{% set base_centos_yum_repos_to_disable = [
149
149
'centos-ceph-squid' ,
150
150
'centos-nfv-openvswitch' ,
151
- 'centos10-nfv-ovs' ,
152
- 'centos10-rabbitmq' ,
153
- 'centos10-storage' ,
154
151
'epel' ,
155
152
'influxdb' ,
156
153
'opensearch-3.x' ,
157
154
'opensearch-dashboards-3.x' ,
158
155
] %}
159
156
160
- {% if base_arch == 'aarch64' %}
161
-
162
- {# NOTE(hrw): delorean-deps.repo may force x86-64 repos #}
163
-
164
- RUN sed -i -e "s/x86_64/aarch64/g" /etc/yum.repos.d/delorean-deps.repo
165
-
166
- {% endif %}
167
-
168
157
RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }}
169
158
170
159
{% - for repo in base_centos_yum_repos_to_enable | customizable ('centos_yum_repos_to_enable' ) %} && dnf config-manager --enable {{ repo }} {% endfor -%}
@@ -207,7 +196,9 @@ RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("cen
207
196
] %}
208
197
209
198
# Install base packages
199
+ {{ macros.enable_extra_repos(['epel'] ) }}
210
200
{{ macros.install_packages( base_centos_packages | customizable("centos_packages") | customizable("centos_binary_packages") | customizable("centos_source_packages") ) }}
201
+ {{ macros.disable_extra_repos(['epel'] ) }}
211
202
212
203
{# endif for base_package_type rpm #}
213
204
{% elif base_package_type == 'deb' %}
0 commit comments