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
This commit is contained in:
parent
f72817fc08
commit
a75301a893
@ -60,11 +60,6 @@ lxc_cache_map:
|
|||||||
yum install -y {{ lxc_cache_distro_packages | join(' ') }}
|
yum install -y {{ lxc_cache_distro_packages | join(' ') }}
|
||||||
rm -f /usr/bin/python
|
rm -f /usr/bin/python
|
||||||
ln -s /usr/bin/python2.7 /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
|
yum clean all
|
||||||
mkdir -p /var/backup
|
mkdir -p /var/backup
|
||||||
echo -e '{{ lxc_container_default_interfaces }}' | tee /etc/sysconfig/network-scripts/ifcfg-eth0
|
echo -e '{{ lxc_container_default_interfaces }}' | tee /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
Loading…
Reference in New Issue
Block a user