Merge "ironic-agent: ensure dmidecode and ipmitool are installed"
This commit is contained in:
commit
08da5f4bac
@ -1,2 +1,5 @@
|
||||
tgt:
|
||||
curl:
|
||||
# this one requires workaround with dnf - see 80-ironic-agent for details
|
||||
dmidecode:
|
||||
ipmitool:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user