set yum priority

Set yum priority to ensure epel is taken last.

Change-Id: I9ab0d895d8fe992558b2b729920a365486582880
This commit is contained in:
Marc Gariepy 2017-03-14 11:27:04 -04:00
parent bfc63bd0f1
commit d8368014bc

View File

@ -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