From 186c3362ae6cd0291e214da6f2d0714b3998f579 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Tue, 30 May 2017 13:14:51 -0400 Subject: Fix rdo-release for newton Change-Id: I96e38561c9d9e401042ba4ab7785801993d8a720 Signed-off-by: Tim Rozet --- ci/dev_dep_check.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ci/dev_dep_check.sh b/ci/dev_dep_check.sh index 6d0aa11f..86e6fd91 100755 --- a/ci/dev_dep_check.sh +++ b/ci/dev_dep_check.sh @@ -12,16 +12,14 @@ set -e -rdo_action="update" - # check for rdo-release if ! rpm -q rdo-release > /dev/null; then - rdo_action="install" + sudo yum remove rdo-release fi # make sure rdo release -if ! sudo yum $rdo_action -y https://www.rdoproject.org/repos/rdo-release.rpm; then - echo "Failed to $rdo_action RDO Release package..." +if ! sudo yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-newton/rdo-release-newton-5.noarch.rpm; then + echo "Failed to install RDO Release package..." exit 1 fi -- cgit 1.2.3-korg