Merge "Fix installation of proliant tools"

This commit is contained in:
Zuul 2021-03-08 23:47:32 +00:00 committed by Gerrit Code Review
commit 4c5b1179f3
2 changed files with 6 additions and 2 deletions

View File

@ -34,6 +34,7 @@ if [[ $DISTRO_NAME = "ubuntu" || $DISTRO_NAME = "debian" ]]; then
alien -i /tmp/ssacli.rpm
else
rpm -iv /tmp/ssacli.rpm
rpm --import https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub
fi
rm -f /tmp/ssacli.rpm
@ -41,8 +42,8 @@ rm -f /tmp/ssacli.rpm
# Install proliantutils python module in the
# virtual environment of ironic-python-agent.
# This is pre-installed by
# ironic-agent/install.d/ironic-agent-source-install/60-ironic-agent-install.
IPA_VENV=/usr/share/ironic-python-agent/venv
# ironic-python-agent-ramdisk/install.d/ironic-python-agent-ramdisk-source-install/60-ironic-python-agent-ramdisk-install.
IPA_VENV=/opt/ironic-python-agent
if [[ -d "$IPA_VENV" ]]; then
$IPA_VENV/bin/pip install proliantutils
else

View File

@ -3,3 +3,6 @@ gcc:
python-dev:
unzip:
net-tools:
binutils:
pciutils:
tar: