From 359f61b05a4eb5614a703e021bedcbaa10e3b9b7 Mon Sep 17 00:00:00 2001 From: Bhagyashri Shewale Date: Thu, 21 May 2020 15:49:40 +0530 Subject: [PATCH] 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 --- docker/qdrouterd/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/qdrouterd/Dockerfile.j2 b/docker/qdrouterd/Dockerfile.j2 index 1a0454125a..5c8dd0b0a8 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 %}