From f34c8d45f5ff344eba7be255fc824965e2a4c6c7 Mon Sep 17 00:00:00 2001 From: Tiago Bortoletto Vaz Date: Tue, 12 Aug 2008 22:21:40 +0200 Subject: Supporting remote preseeding files. --- functions/defaults.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.0