From d8368014bca3e870555f475b192bfc78bb0e6ec9 Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Tue, 14 Mar 2017 11:27:04 -0400 Subject: [PATCH] set yum priority Set yum priority to ensure epel is taken last. Change-Id: I9ab0d895d8fe992558b2b729920a365486582880 --- vars/redhat-7.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index f4458ec3..ec3b68f4 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -57,7 +57,8 @@ lxc_cache_map: ln -s /usr/bin/python2.7 /usr/bin/python curl -sL -o /tmp/rdo-release-ocata.rpm https://repos.fedorapeople.org/repos/openstack/openstack-ocata/rdo-release-ocata.rpm /usr/bin/rpm -ivh /tmp/rdo-release-ocata.rpm || true - yum-config-manager --enable openstack-ocata --setopt="openstack-ocata.priority=50" --enable rdo-qemu-ev --setopt="rdo-qemu-ev.priority=50" + yum-config-manager --enable openstack-ocata --setopt="openstack-ocata.priority=50" --enable rdo-qemu-ev --setopt="rdo-qemu-ev.priority=50" \ + --enable base --setopt="base.priority=50" --enable updates --setopt="updates.priority=50" --enable extras --setopt="extras.priority=50" yum clean all mkdir -p /var/backup echo -e '{{ lxc_container_default_interfaces }}' | tee /etc/sysconfig/network-scripts/ifcfg-eth0