Install "dmidecode" and "ipmitool" by default
The get_memory() method relies on dmidecode to get the total amount of RAM present in the node but, but by default dmidecode is not installed in the image. Same for get_bmc_address() and ipmitool. This patch fixes both cases by installing the "dmidecode" and "ipmitool" packages when generating the CoreOS image of IPA. Closes-Bug: 1494367 Change-Id: Ibded7bd533d604cf21a3b60afd396dc7b8b8750b
This commit is contained in:
@@ -15,7 +15,7 @@ RUN apt-get update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get install -y --no-install-recommends python2.7 python2.7-dev \
|
||||
python-pip qemu-utils parted hdparm util-linux genisoimage git gcc \
|
||||
bash coreutils tgt && \
|
||||
bash coreutils tgt dmidecode ipmitool && \
|
||||
apt-get --only-upgrade -t testing install -y qemu-utils
|
||||
|
||||
# Some cleanup
|
||||
|
||||
Reference in New Issue
Block a user