Limit centos repo disable to centos hosts only
Run dnf or yum to disable centos repos only if used on centos machine. Closes-Bug: #1851135 Change-Id: If6f05237c2512c643857765eecf452f5416b3d60
This commit is contained in:
parent
31a061099b
commit
e4b37201a5
@ -16,8 +16,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'qpid-dispatch-tools'
|
||||
] %}
|
||||
|
||||
{% if base_distro in ['centos'] %}
|
||||
# make sure qpid is pulled from centos-openstack-RELEASE (RDO) repo
|
||||
RUN {% if distro_package_manager == 'dnf' %}dnf config-manager{% else %}yum-config-manager{% endif %} --disable epel centos-release-opstools extras
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(qdrouterd_packages | customizable("packages")) }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user