Ensure isolinux.bin
is present and configured in devstack
When devstack boots a node over virtual media in BIOS boot mode, `isolinux.bin` boot loader needs to be present for grilling hybrid ISO images. This patch makes devstack pulling necessary packages and configure ironic accordingly. Change-Id: I2f4e582aa05fc54610a4c43695124219714368c2
This commit is contained in:
parent
acfc2ea440
commit
1e25f60fd3
@ -15,6 +15,7 @@ docker.io
|
||||
ipmitool
|
||||
iptables
|
||||
ipxe
|
||||
isolinux
|
||||
gnupg
|
||||
libguestfs0
|
||||
libguestfs-tools
|
||||
|
@ -14,6 +14,7 @@ openvswitch
|
||||
sgabios
|
||||
shellinabox
|
||||
syslinux
|
||||
syslinux-nonlinux
|
||||
tftp-server
|
||||
xinetd
|
||||
squashfs-tools
|
||||
|
@ -1566,6 +1566,11 @@ function configure_ironic_conductor {
|
||||
iniset $IRONIC_CONF_FILE dhcp dhcp_provider $IRONIC_DHCP_PROVIDER
|
||||
|
||||
iniset $IRONIC_CONF_FILE deploy default_boot_option $IRONIC_DEFAULT_BOOT_OPTION
|
||||
|
||||
isolinux=$(find -L /usr /opt /etc -type f -name "isolinux.bin" | head -1)
|
||||
if [[ -n "$isolinux" ]]; then
|
||||
iniset $IRONIC_CONF_FILE DEFAULT isolinux_bin "$isolinux"
|
||||
fi
|
||||
}
|
||||
|
||||
# create_ironic_cache_dir() - Part of the init_ironic() process
|
||||
|
Loading…
Reference in New Issue
Block a user