Install 'hostname' in runtime-install (for iSCSI)

As explained in detail in the bug, 'hostname' must be installed
for the dracut 95iscsi module to work (and thus for key iscsi
modules to be included in the initramfs generated by lorax). Up
till recently, we got it as a dependency of initscripts, but
when network-scripts split from initscripts, the dependency went
with it. Now nothing else pulls it in as a dep, so let's just
pull it in explicitly here.

Resolves: rhbz#1593657

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-06-21 14:18:48 -07:00 committed by Brian C. Lane
parent 6d9187d559
commit 7f805287ca

View File

@ -95,7 +95,8 @@ installpkg device-mapper-persistent-data
installpkg xfsdump
## extra storage packages
installpkg udisks2 udisks2-iscsi
# hostname is needed for iscsi to work, see RHBZ#1593917
installpkg udisks2 udisks2-iscsi hostname
## extra libblockdev plugins
installpkg libblockdev-lvm-dbus