summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTiago Bortoletto Vaz <tiagovaz@safernet.org.br>2008-08-12 22:21:40 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:39 +0100
commitf34c8d45f5ff344eba7be255fc824965e2a4c6c7 (patch)
treed54ddd1c6b86a1b41aa83d02ba01bef332ebd36d /functions
parentaa6204c8aec159875bf1010ca93eea05a16949b2 (diff)
downloadlive-build-f34c8d45f5ff344eba7be255fc824965e2a4c6c7.zip
live-build-f34c8d45f5ff344eba7be255fc824965e2a4c6c7.tar.gz
Supporting remote preseeding files.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 892f1f3..65e20ff 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -565,7 +565,15 @@ Set_defaults ()
;;
net)
- LH_BOOTAPPEND_PRESEED="file=/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
+ case "${LH_DEBIAN_INSTALLER_PRESEEDFILE}" in
+ *://*)
+ LH_BOOTAPPEND_PRESEED="file=${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
+ ;;
+
+ *)
+ LH_BOOTAPPEND_PRESEED="file=/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
+ ;;
+ esac
;;
esac
fi