File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,27 @@ kolla_build_blocks:
220
220
-e 's/^[# ]*\(baseurl *=.*\)/#\1/g' \
221
221
-e '/#baseurl.*/a baseurl={{ repo.url }}' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
222
222
{% endfor %}
223
+ # NOTE: The Open vSwitch and OVN packages in Ubuntu Wallaby UCA repository
224
+ # are quite old - 2.15 and 20.12 respectively. Pull in these packages from
225
+ # the Yoga UCA, which are 2.17 and 22.03, to more closely match the CentOS
226
+ # packages.
227
+ base_debian_after_sources_list : |
228
+ RUN echo "\
229
+ deb http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/yoga main"\
230
+ > /etc/apt/sources.list.d/uca-yoga.list
231
+ RUN echo "\
232
+ Package: *\n\
233
+ Pin: release focal-updates/yoga\n\
234
+ Pin-Priority: -1\n\
235
+ \n\
236
+ Package: ovn*\n\
237
+ Pin: release focal-updates/yoga\n\
238
+ Pin-Priority: 500\n\
239
+ \n\
240
+ Package: openvswitch* python3-openvswitch\n\
241
+ Pin: release focal-updates/yoga\n\
242
+ Pin-Priority: 500"\
243
+ > /etc/apt/preferences.d/uca-yoga
223
244
# NOTE: Not currently syncing Ubuntu packages, since the on_demand mirror in
224
245
# Ark does not work if the upstream mirror pulls packages (which it does
225
246
# sometimes).
You can’t perform that action at this time.
0 commit comments