summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index b501298..4467180 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -791,9 +791,8 @@ Set_defaults ()
if [ -z "${LH_BOOTAPPEND_INSTALL}" ]
then
- # Ubuntu's d-i is patched to be able to use usb-hdd block devices for
- # install media if enabled by preseeding cdrom-detect/try-usb to true.
- if [ "${LH_MODE}" = "ubuntu" ] && [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
+ # Try USB block devices for install media
+ if [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
then
LH_BOOTAPPEND_INSTALL="cdrom-detect/try-usb=true"
fi