Install rdo-release to setup the stage repo for juno if not already installed.

This commit is contained in:
James Slagle 2014-10-17 07:26:24 -04:00
parent 884a3a0593
commit aec3bc717c
1 changed files with 6 additions and 0 deletions

View File

@ -201,6 +201,12 @@ if [ "$RUN_INSTACK" -eq 0 ]; then
exit 0
fi
if [ "$PACKAGES" = "1" -a "$DELOREAN" = "0" ]; then
if ! rpm -q rdo-release; then
sudo yum -y install http://team.virt.bos.redhat.com/openstack/openstack-juno/rdo-release-juno-1.noarch.rpm
fi
fi
if [[ "$JSONFILE" =~ "package" ]]; then
# Must delete any newer packages first