From aa9c076df9f89271649f1a18c657e08bd7427826 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Mon, 11 Aug 2008 01:27:32 +0100
Subject: Choose correct d-i install method for "live" and usb-hdd/tar image
 types.

---
 helpers/lh_binary_debian-installer | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index a66137f..e366d8c 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -106,12 +106,12 @@ case "${LH_DEBIAN_INSTALLER}" in
 		;;
 	*)
 		case "${LH_BINARY_IMAGES}" in
-			iso)
-				DI_IMAGE_TYPE="cdrom"
+			net)
+				DI_IMAGE_TYPE="netboot"
 				;;
 
 			*)
-				DI_IMAGE_TYPE="netboot"
+				DI_IMAGE_TYPE="cdrom"
 				;;
 		esac
 		;;
-- 
cgit v1.0