diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-12 22:21:40 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 05:44:22 +0200 |
commit | efe08ed9252755de9136ab79f0ead3d8aaa150bf (patch) | |
tree | 43eb4a1c6c6cf4cbca508c9a1fbc2b4fdb2c7b43 | |
parent | 2585f5591e672859ccc9159b2ab51747f91c7381 (diff) | |
download | vyos-live-build-efe08ed9252755de9136ab79f0ead3d8aaa150bf.tar.gz vyos-live-build-efe08ed9252755de9136ab79f0ead3d8aaa150bf.zip |
Supporting remote preseeding files.
-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 |