summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorBhagyashri Shewale <bshewale@redhat.com>2020-05-21 15:49:40 +0530
committerBhagyashri Shewale <bshewale@redhat.com>2020-05-21 15:54:01 +0530
commit359f61b05a4eb5614a703e021bedcbaa10e3b9b7 (patch)
treeea0c7379b02fe4ef251c8ad13a35c3ff2488d209 /docker
parente6f30e87020383f27c17560d0bf544c87520af84 (diff)
downloadkolla-359f61b05a4eb5614a703e021bedcbaa10e3b9b7.tar.gz
kolla-359f61b05a4eb5614a703e021bedcbaa10e3b9b7.zip
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>
Diffstat (limited to 'docker')
-rw-r--r--docker/qdrouterd/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/qdrouterd/Dockerfile.j2 b/docker/qdrouterd/Dockerfile.j2
index 1a0454125..5c8dd0b0a 100644
--- a/docker/qdrouterd/Dockerfile.j2
+++ b/docker/qdrouterd/Dockerfile.j2
@@ -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 %}