diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-12 22:21:40 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:39 +0100 |
commit | f34c8d45f5ff344eba7be255fc824965e2a4c6c7 (patch) | |
tree | d54ddd1c6b86a1b41aa83d02ba01bef332ebd36d /functions | |
parent | aa6204c8aec159875bf1010ca93eea05a16949b2 (diff) | |
download | vyos-live-build-f34c8d45f5ff344eba7be255fc824965e2a4c6c7.tar.gz vyos-live-build-f34c8d45f5ff344eba7be255fc824965e2a4c6c7.zip |
Supporting remote preseeding files.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 892f1f3e2..65e20ff72 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 |