Merge "devstack: Remove syslinux dependency"

This commit is contained in:
Zuul 2019-04-16 15:15:03 +00:00 committed by Gerrit Code Review
commit cd27c7af05
2 changed files with 6 additions and 3 deletions

View File

@ -28,7 +28,6 @@ qemu-kvm
qemu-utils
sgabios
shellinabox
syslinux # dist:xenial,bionic
syslinux-common # dist:xenial,bionic
tftpd-hpa
xinetd

View File

@ -1038,8 +1038,12 @@ function configure_ironic_dirs {
fi
# Copy PXE binary
cp $IRONIC_PXE_BOOT_IMAGE $IRONIC_TFTPBOOT_DIR
setup_syslinux_modules
# NOTE(mjturek): The PXE binary is x86_64 specific. So it should only be copied when
# deploying to an x86_64 node.
if [[ $IRONIC_HW_ARCH == "x86_64" ]]; then
cp $IRONIC_PXE_BOOT_IMAGE $IRONIC_TFTPBOOT_DIR
setup_syslinux_modules
fi
if [[ "$IRONIC_BOOT_MODE" == "uefi" ]]; then
local uefi_ipxe_boot_file