Merge "Add element for CentOS CR repo"

This commit is contained in:
James Slagle 2015-03-27 01:22:23 +01:00 committed by Gerrit Code Review
commit 8e840e57b5
3 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Enable the CentOS CR Repo
Allow use of packages from the CentOS CR repository, per the instructions at
http://wiki.centos.org/AdditionalResources/Repositories/CR

View File

@ -0,0 +1,9 @@
#!/bin/bash
set -eux
set -o pipefail
# Per http://seven.centos.org/?p=303 we need to update before we can
# enable the cr repo.
yum -y update
yum-config-manager --enable cr

View File

@ -68,7 +68,8 @@ if [ "$NODE_DIST" = "rhel7" ]; then
elif [ "$NODE_DIST" = "centos7" ]; then
export DELOREAN_REPO_URL=$DELOREAN_EL7_REPO_URL
# SELinux permissive for CentOS for now
export DIB_COMMON_ELEMENTS=selinux-permissive
# lshw has moved from EPEL to the CentOS cr repo
export DIB_COMMON_ELEMENTS="selinux-permissive centos-cr"
fi
export DEPLOY_IMAGE_ELEMENT=${DEPLOY_IMAGE_ELEMENT:-deploy-ironic}