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:
parent
9690d108b2
commit
6ada2b7bd4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue