summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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