diff options
Diffstat (limited to 'helpers/lh_binary_debian-installer')
-rwxr-xr-x | helpers/lh_binary_debian-installer | 15 |
1 files changed, 8 insertions, 7 deletions
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,18 +92,19 @@ 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="cdrom" + DI_IMAGE_TYPE="netboot" ;; esac ;; |