From a75301a8931f2e05fea984c89fc363fadc6f2012 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 3 May 2017 15:44:09 +0100 Subject: [PATCH] Remove EPEL/RDO package installs from cache prep The keys and yum.repos.d files are copied from the host and imported prior to the current download/install/config steps. The distro packages are all installed before this too, proving that they're already working prior to these steps. Obviously these extra commands are not necessary, so they may as well be removed. Change-Id: I8ef12ba1f397993376c8d89cfa9a65ebad978b8b --- vars/redhat-7.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index b0393cbc..05042297 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -60,11 +60,6 @@ lxc_cache_map: yum install -y {{ lxc_cache_distro_packages | join(' ') }} rm -f /usr/bin/python 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/yum --nogpgcheck -y install /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" \ - --enable base --setopt="base.priority=50" --enable updates --setopt="updates.priority=50" --enable extras --setopt="extras.priority=50" \ - --enable epel yum clean all mkdir -p /var/backup echo -e '{{ lxc_container_default_interfaces }}' | tee /etc/sysconfig/network-scripts/ifcfg-eth0