Merge "ironic-agent: ensure dmidecode and ipmitool are installed"

This commit is contained in:
Jenkins 2015-09-03 13:47:45 +00:00 committed by Gerrit Code Review
commit 08da5f4bac
2 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,5 @@
tgt:
curl:
# this one requires workaround with dnf - see 80-ironic-agent for details
dmidecode:
ipmitool:

View File

@ -7,6 +7,12 @@ set -eu
set -o pipefail
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
case "$DIB_INIT_SYSTEM" in