Install proliantutils in IPA's virtualenv
The proliant-tools element helps to do RAID configuration in ironic for HPE servers. This fix proposes to install the proliantutils in ironic-python-agent's virtualenv created using ironic-agent element. Closes-Bug: 1563648 Change-Id: If63c725a42740ab244a2b4004797cba09d0f154e
This commit is contained in:
parent
11128b0673
commit
9d397d2568
@ -34,5 +34,13 @@ fi
|
|||||||
|
|
||||||
rm -f /tmp/hpssacli.rpm
|
rm -f /tmp/hpssacli.rpm
|
||||||
|
|
||||||
# Install proliantutils python module
|
# Install proliantutils python module in the
|
||||||
pip install proliantutils
|
# 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
|
||||||
|
if [[ -d "$IPA_VENV" ]]; then
|
||||||
|
$IPA_VENV/bin/pip install proliantutils
|
||||||
|
else
|
||||||
|
pip install proliantutils
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user