ironic-python-agent-builder/dib/extra-hardware/pre-install.d/10-enable-rdo-deps
Chandan Kumar (raukadah) bb6a4769ac Added element to enable RDO deps repo to install sysbench
In CentOS Stream/RHEL 9, synbench package is removed and
it is currently available and maintained under rdo deps repo.

Since sysbench is needed in extra-hardware element for running
tests.

This patch enables the repo to install sysbench.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I8ebb405a1921282f49952e7cfdd19558ef7f1b1d
2022-01-25 19:22:02 +00:00

7 lines
225 B
Bash
Executable File

#!/bin/bash
# It enables RDO deps repo for CentOS Stream 9
if [[ "${DISTRO_NAME}${DIB_RELEASE}" =~ "centos9" ]]; then
curl -o /etc/yum.repos.d/dlrn-deps.repo https://trunk.rdoproject.org/centos9-master/dlrn-deps.repo
fi