summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-11 01:27:32 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-08-11 01:27:32 +0100
commit12fae93f2ba2b3fb353649a2bb30f00b03ecba83 (patch)
treea1ae390f0528039e27668b40ad9c08056a53c067
parentcf3c659a9552db70da867a4f0920eba3c4555dec (diff)
downloadvyos-live-build-12fae93f2ba2b3fb353649a2bb30f00b03ecba83.tar.gz
vyos-live-build-12fae93f2ba2b3fb353649a2bb30f00b03ecba83.zip
Choose correct d-i install method for "live" and usb-hdd/tar image types.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-xhelpers/lh_binary_debian-installer6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index a66137fdf..e366d8c23 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
;;