With the move to RHEL/CentOS 8 we no longer have Python 2 in our images
so there is no need for checking which Python version (2.x or 3.x) is
used inside of containers.
We also no longer have to support yum as a value for
distro_package_manager.
Partially-Implements: blueprint centos-rhel-8
Change-Id: Ie45cf3465fedddbde7856961527421883ba3d5c9
This reduces the overall size of the kolla images by 3 percents and
improves the build and push time by 5 percents according to my
measurements.
Compare results with [1] and without [2] the patch applied.
[1] http://paste.openstack.org/show/707910/
[2] http://paste.openstack.org/show/707907/
Change-Id: I4932b6760af5b5eef9ec79b54b4b2f06eb2a4784
This commit allows to configure yum settings via a yum.conf file that
is shipped in the base image and make it overridable with the
base_yum_conf jinja2 block.
Change-Id: I76a84ec008fec5696cadefdbdeb4204a32421c4b
Closes-Bug: #1698134