Supporting remote preseeding files.

This commit is contained in:
Tiago Bortoletto Vaz 2008-08-12 22:21:40 +02:00 committed by Daniel Baumann
parent aa6204c8ae
commit f34c8d45f5
1 changed files with 9 additions and 1 deletions

View File

@ -565,9 +565,17 @@ Set_defaults ()
;;
net)
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
if [ -z "${LH_BOOTAPPEND_INSTALL}" ] && [ -n ${LH_BOOTAPPEND_PRESEED} ]