diff options
Diffstat (limited to 'functions/configuration.sh')
-rwxr-xr-x | functions/configuration.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh index 6f52bdad4..7750a5c54 100755 --- a/functions/configuration.sh +++ b/functions/configuration.sh @@ -304,8 +304,12 @@ Prepare_config () case "${LB_ARCHITECTURE}" in amd64|i386) - LB_BOOTLOADER_BIOS="${LB_BOOTLOADER_BIOS:-syslinux}" - if ! In_list "${LB_IMAGE_TYPE}" hdd netboot; then + if In_list "${LB_IMAGE_TYPE}" hdd; then + LB_BOOTLOADER_BIOS="${LB_BOOTLOADER_BIOS}" + else + LB_BOOTLOADER_BIOS="${LB_BOOTLOADER_BIOS:-syslinux}" + fi + if ! In_list "${LB_IMAGE_TYPE}" netboot; then LB_BOOTLOADER_EFI="${LB_BOOTLOADER_EFI:-grub-efi}" fi ;; |