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
# 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