Allow operators to override versionlock for redhat in base

TrivialFix

Change-Id: Iedec701e76cdf4e336abeae1286ba6359fcfeba1
This commit is contained in:
Paul Bourke 2016-08-31 14:47:17 +01:00
parent 624d300dc4
commit 19c5e97c89

@ -155,11 +155,13 @@ RUN yum -y install \
{# We are back to the basic if conditional here which is:
if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] #}
{% block base_redhat_binary_versionlock %}
RUN yum -y update \
&& yum -y install \
yum-plugin-versionlock \
&& yum clean all
COPY versionlock.list /etc/yum/pluginconf.d/
{% endblock %}
{% if install_type == 'binary' %}
{% set base_centos_binary_packages = [