From 77782cf90354cb9dd163828b76fde0fd3c3fc4b9 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Tue, 22 Mar 2022 16:50:02 +1300 Subject: [PATCH] Add bmc host support for centos-9-stream This change allows the BMC to install and run on centos9-stream. centos-8 is skipped to reduce the required support matrix, centos-7 support can be removed once known OVB tooling is upgraded. Then, pre-built image support can be restored, and also feature work can be resumed in a modern python3 environment (such as implementing a redfish endpoint). Change-Id: I81565726f18d11c906ed23295d8acf5e18a9c2fe --- bin/install_openstackbmc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/install_openstackbmc.sh b/bin/install_openstackbmc.sh index 2be2de3..ca6ba15 100644 --- a/bin/install_openstackbmc.sh +++ b/bin/install_openstackbmc.sh @@ -8,6 +8,11 @@ if [ "$centos_ver" == "7" ] ; then yum install -y python2-tripleo-repos tripleo-repos current-tripleo yum install -y python-crypto python2-novaclient python2-neutronclient python2-pyghmi os-net-config python2-os-client-config python2-openstackclient +elif [ "$centos_ver" == "9" ] ; then + curl -o /etc/yum.repos.d/delorean.repo https://trunk.rdoproject.org/centos${centos_ver}-master/current-tripleo/delorean.repo + dnf install -y python3-tripleo-repos + tripleo-repos current-tripleo + dnf install -y openstack-network-scripts python3-cryptography python3-novaclient python3-pyghmi os-net-config python3-os-client-config python3-openstackclient else set +x $signal_command --data-binary '{"status": "FAILURE"}'