Fix centos qdrouterd for centos > 7
Yum doesn't present in centos/rhel version 8, we'll need to use dnf in that case. Change-Id: I2ccbfe4ae55c6a3653d8c03a12e6bca64e58d396 Closes-Bug: #1851135
This commit is contained in:
parent
3ef9bf828e
commit
31a061099b
|
@ -17,7 +17,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||
] %}
|
||||
|
||||
# make sure qpid is pulled from centos-openstack-RELEASE (RDO) repo
|
||||
RUN yum-config-manager --disable epel centos-release-opstools extras
|
||||
RUN {% if distro_package_manager == 'dnf' %}dnf config-manager{% else %}yum-config-manager{% endif %} --disable epel centos-release-opstools extras
|
||||
|
||||
{{ macros.install_packages(qdrouterd_packages | customizable("packages")) }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue