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
|
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
|
||||||
|
|
Loading…
Reference in New Issue