summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-11 01:27:32 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commitaa9c076df9f89271649f1a18c657e08bd7427826 (patch)
tree157c65137de00c40349311a35c310ebf260ff6aa
parent974e737b625cdf1d81ff174e3815939f10bd76a7 (diff)
downloadvyos-live-build-aa9c076df9f89271649f1a18c657e08bd7427826.tar.gz
vyos-live-build-aa9c076df9f89271649f1a18c657e08bd7427826.zip
Choose correct d-i install method for "live" and usb-hdd/tar image types.
-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
;;