Merge "Add element for CentOS CR repo"
This commit is contained in:
commit
8e840e57b5
4
elements/centos-cr/README.rst
Normal file
4
elements/centos-cr/README.rst
Normal 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
|
9
elements/centos-cr/pre-install.d/00-enable-cr-repo
Executable file
9
elements/centos-cr/pre-install.d/00-enable-cr-repo
Executable 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
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user