qdrouterd: ignore failure of disabling epel repos
There are cases when epel repos are not setup in that case dnf config-manager will fail. Let's ignore the failure in such cases. This change is needed only for Train branch. Change-Id: Ic1b74ccc7c8e6ee2e4c025e8b29150d1a1d96f2f Partially-Implements: blueprint centos-rhel-8 Signed-off-by: Bhagyashri Shewale <bshewale@redhat.com>
This commit is contained in:
parent
e6f30e8702
commit
359f61b05a
|
@ -19,7 +19,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||
{% if base_distro in ['centos'] %}
|
||||
# make sure qpid is pulled from centos-openstack-RELEASE (RDO) repo
|
||||
{% if distro_package_manager == 'dnf' %}
|
||||
RUN dnf config-manager --disable epel centos-opstools extras
|
||||
RUN dnf config-manager --disable epel centos-opstools extras || true
|
||||
{% else %}
|
||||
RUN yum-config-manager --disable epel centos-release-opstools extras
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue