summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index bfbffa37e..695195d9d 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -522,7 +522,14 @@ Set_config_defaults ()
then
case "${LB_ARCHITECTURES}" in
amd64|i386)
- LB_BOOTLOADERS="syslinux,grub-efi"
+ case "${LIVE_IMAGE_TYPE}" in
+ hdd*|netboot)
+ LB_BOOTLOADERS="syslinux"
+ ;;
+ *)
+ LB_BOOTLOADERS="syslinux,grub-efi"
+ ;;
+ esac
;;
esac
fi