Set correct d-i image type on usb-hdd and tar image types

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-06-14 17:22:57 +01:00
parent 9690d108b2
commit 6ada2b7bd4
1 changed files with 9 additions and 8 deletions

View File

@ -92,19 +92,20 @@ case "${LH_BINARY_IMAGES}" in
;; ;;
esac esac
# Setting remote d-i directories # Set d-i image type
case "${LH_BINARY_IMAGES}" in case "${LH_DEBIAN_INSTALLER}" in
net) businesscard|netboot|netinst)
DI_IMAGE_TYPE="netboot" DI_IMAGE_TYPE="netboot"
;; ;;
*) *)
case "${LH_DEBIAN_INSTALLER}" in case "${LH_BINARY_IMAGES}" in
businesscard|netboot) iso)
DI_IMAGE_TYPE="netboot"
;;
*)
DI_IMAGE_TYPE="cdrom" DI_IMAGE_TYPE="cdrom"
;; ;;
*)
DI_IMAGE_TYPE="netboot"
;;
esac esac
;; ;;
esac esac