Remove redhat-release package from UBI8 image
Also install centos*release package when tcib_distro is centos. *release packages are protected by dnf, so used rpm commands to remove. Disable upgrades pipeline to get this fix in. (cherry picked from commit963c55bd44
) (cherry picked from commit906265c433
) Closes-Bug: #1939674 Change-Id: I5467a5faa36aa1359ff9b8135a512566dff12a79
This commit is contained in:
parent
b168349d14
commit
a7513bc0b9
@ -31,6 +31,11 @@ tcib_actions:
|
||||
- run: sed -ri '/^(passwd:|group:)/ s/systemd//g' /etc/nsswitch.conf
|
||||
- run: dnf install -y {{ tcib_packages['common'] | join(' ') }}
|
||||
- run: mkdir -p /openstack
|
||||
- run: >-
|
||||
if [ '{{ tcib_distro }}' == 'centos' ];then dnf download centos*release &&
|
||||
rpm -ivh --nodeps --replacefiles *.rpm &&
|
||||
rm -rf *.rpm &&
|
||||
rpm -e --nodeps redhat-release; fi
|
||||
- run: dnf update --excludepkgs redhat-release -y && dnf clean all && rm -rf /var/cache/dnf
|
||||
tcib_cmd: kolla_start
|
||||
tcib_entrypoint: dumb-init --single-child --
|
||||
|
@ -10,7 +10,7 @@
|
||||
- tripleo-build-containers-jobs
|
||||
- tripleo-buildimage-jobs
|
||||
- tripleo-standalone-scenarios-pipeline
|
||||
- tripleo-upgrades-victoria-pipeline
|
||||
#- tripleo-upgrades-victoria-pipeline
|
||||
vars:
|
||||
ensure_global_symlinks: true
|
||||
check:
|
||||
|
Loading…
Reference in New Issue
Block a user