instack-undercloud/elements/centos-cr/pre-install.d/00-enable-cr-repo

10 lines
214 B
Bash
Executable File

#!/bin/bash
set -eux
set -o pipefail
# Per https://seven.centos.org/2015/03/centos-7-cr-repo-has-been-populated/
# we need to update before we can enable the cr repo.
yum -y update
yum-config-manager --enable cr