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
This commit is contained in:
Steve Baker 2022-03-22 16:50:02 +13:00
parent 6ec7ccd34d
commit 77782cf903
1 changed files with 5 additions and 0 deletions

View File

@ -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"}'