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,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