Add missing dependencies to CoreOS IPA docker image

The iptables and lshw utilities are both required for IPA: iptables is
used when collecting system logs and lshw is used to get the total
physical memory and system details. However, they were not installed in
the docker image embedded in CoreOS IPA images. Since the docker image
is used as a chroot to run IPA, it cannot access binaries available
outside in the main CoreOS file system.

Conflicts:
	Dockerfile

Change-Id: Ic2188b49e717c62315db6c33b74b2e161436b052
Story: #2004092
Task: #27494
(cherry picked from commit c6ea17d413)
This commit is contained in:
Pierre Riteau 2018-10-17 17:11:44 +01:00
parent b04651cf8a
commit c6492f610c
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ RUN proxy.sh apt-get update && \
proxy.sh apt-get install -y --no-install-recommends netbase gdisk \
python2.7 python2.7-dev python-pip qemu-utils parted hdparm \
util-linux genisoimage git gcc bash coreutils tgt dmidecode \
ipmitool psmisc dosfstools bsdmainutils open-iscsi udev && \
ipmitool psmisc dosfstools bsdmainutils open-iscsi udev \
iptables lshw && \
proxy.sh apt-get --only-upgrade -t jessie-backports install -y qemu-utils
# Some cleanup