Replacing usage of rdo-release rpm
with centos-release-openstack rpms follwing [1]. [1] https://issues.redhat.com/browse/RDO-311 Change-Id: I50951e077e73297d10b075677a440992d1e2fa91
This commit is contained in:
parent
6990b06cd3
commit
8784a3027f
19
stack.sh
19
stack.sh
@ -302,23 +302,14 @@ function _install_epel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _install_rdo {
|
function _install_rdo {
|
||||||
if [[ $DISTRO == "rhel8" ]]; then
|
if [[ $DISTRO == "rhel9" ]]; then
|
||||||
|
rdo_release=${TARGET_BRANCH#*/}
|
||||||
if [[ "$TARGET_BRANCH" == "master" ]]; then
|
if [[ "$TARGET_BRANCH" == "master" ]]; then
|
||||||
# rdo-release.el8.rpm points to latest RDO release, use that for master
|
# adding delorean-deps repo to provide current master rpms
|
||||||
sudo dnf -y install https://rdoproject.org/repos/rdo-release.el8.rpm
|
sudo wget https://trunk.rdoproject.org/centos9-master/delorean-deps.repo -O /etc/yum.repos.d/delorean-deps.repo
|
||||||
else
|
else
|
||||||
# For stable/unmaintained branches use corresponding release rpm
|
# For stable/unmaintained branches use corresponding release rpm
|
||||||
rdo_release=${TARGET_BRANCH#*/}
|
sudo dnf -y install centos-release-openstack-${rdo_release}
|
||||||
sudo dnf -y install https://rdoproject.org/repos/openstack-${rdo_release}/rdo-release-${rdo_release}.el8.rpm
|
|
||||||
fi
|
|
||||||
elif [[ $DISTRO == "rhel9" ]]; then
|
|
||||||
if [[ "$TARGET_BRANCH" == "master" ]]; then
|
|
||||||
# rdo-release.el9.rpm points to latest RDO release, use that for master
|
|
||||||
sudo dnf -y install https://rdoproject.org/repos/rdo-release.el9.rpm
|
|
||||||
else
|
|
||||||
# For stable/unmaintained branches use corresponding release rpm
|
|
||||||
rdo_release=${TARGET_BRANCH#*/}
|
|
||||||
sudo dnf -y install https://rdoproject.org/repos/openstack-${rdo_release}/rdo-release-${rdo_release}.el9.rpm
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sudo dnf -y update
|
sudo dnf -y update
|
||||||
|
Loading…
Reference in New Issue
Block a user