ironic-agent: ensure dmidecode and ipmitool are installed
Currently they are used for inspection, but may be also used for other purposes, as they're accessed from IPA generic hardware layer. Change-Id: I32c6a711d466131b9445023812a2a260ed2e01f3
This commit is contained in:
parent
12d71c6447
commit
5f68750b4b
@ -1,2 +1,5 @@
|
|||||||
tgt:
|
tgt:
|
||||||
curl:
|
curl:
|
||||||
|
# this one requires workaround with dnf - see 80-ironic-agent for details
|
||||||
|
dmidecode:
|
||||||
|
ipmitool:
|
||||||
|
@ -7,6 +7,12 @@ set -eu
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
install-packages -e python-dev git cloud-init
|
install-packages -e python-dev git cloud-init
|
||||||
|
# dnf removes unused dependencies by default. As we installed cloud-init before
|
||||||
|
# dmidecode, dnf removes dmidecode above as an unused dependency.
|
||||||
|
# TODO(dtantsur): use `dnf mark` from dnf 1.1.1 in install-packages once this
|
||||||
|
# command is widely available.
|
||||||
|
install-packages dmidecode
|
||||||
|
|
||||||
rm -rf /tmp/ironic-python-agent
|
rm -rf /tmp/ironic-python-agent
|
||||||
|
|
||||||
case "$DIB_INIT_SYSTEM" in
|
case "$DIB_INIT_SYSTEM" in
|
||||||
|
Loading…
Reference in New Issue
Block a user