Install RDO release RPM without GPG checks

The RDO release RPM isn't signed, but all of the repositories it
configures have GPG signing enabled. Although CentOS normally doesn't
check GPG signatures for packages that are installed locally, the
security role enables those checks for all local packages.

Change-Id: I806cd628427dae802a89e2a7a79bd4a202233096
This commit is contained in:
Major Hayden 2017-03-27 08:06:53 -05:00
parent 0b5fd2fc49
commit 193e6f2ef6
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1

View File

@ -56,7 +56,7 @@ lxc_cache_map:
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/rpm -ivh /tmp/rdo-release-ocata.rpm || true
/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"
yum clean all