From 4d748e582c9a6a843a6d5a9c51581d0085f58dc6 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sat, 14 Jun 2008 17:22:57 +0100 Subject: Set correct d-i image type on usb-hdd and tar image types --- helpers/lh_binary_debian-installer | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 4c4c2b8..3e2bdcc 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 ;; -- cgit v1.0