diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 4c4c2b8dd..3e2bdcc97 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -92,19 +92,20 @@ case "${LH_BINARY_IMAGES}" in ;; esac -# Setting remote d-i directories -case "${LH_BINARY_IMAGES}" in - net) +# Set d-i image type +case "${LH_DEBIAN_INSTALLER}" in + businesscard|netboot|netinst) DI_IMAGE_TYPE="netboot" ;; *) - case "${LH_DEBIAN_INSTALLER}" in - businesscard|netboot) - DI_IMAGE_TYPE="netboot" - ;; - *) + case "${LH_BINARY_IMAGES}" in + iso) DI_IMAGE_TYPE="cdrom" ;; + + *) + DI_IMAGE_TYPE="netboot" + ;; esac ;; esac