diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-12 22:11:18 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 05:44:22 +0200 |
commit | 2585f5591e672859ccc9159b2ab51747f91c7381 (patch) | |
tree | af757f0deed175709d3ddc1b8dffbb0c441eb9da /functions | |
parent | 2fb67cb362a18cffb0810482163279dd57aa0943 (diff) | |
download | vyos-live-build-2585f5591e672859ccc9159b2ab51747f91c7381.tar.gz vyos-live-build-2585f5591e672859ccc9159b2ab51747f91c7381.zip |
Also allowing multiple preseeding files for netboot.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 7db4e4d0c..892f1f3e2 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -539,7 +539,7 @@ Set_defaults () then if Find_files config/binary_debian-installer/preseed.cfg then - LH_DEBIAN_INSTALLER_PRESEEDFILE="/install/preseed.cfg" + LH_DEBIAN_INSTALLER_PRESEEDFILE="/preseed.cfg" fi if Find_files config/binary_debian-installer/*.cfg && [ ! -e config/binary_debian-installer/preseed.cfg ] @@ -557,11 +557,15 @@ Set_defaults () then case "${LH_BINARY_IMAGES}" in iso) - LH_BOOTAPPEND_PRESEED="file=/cdrom${LH_DEBIAN_INSTALLER_PRESEEDFILE}" + LH_BOOTAPPEND_PRESEED="file=/cdrom/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}" ;; usb-hdd) - LH_BOOTAPPEND_PRESEED="file=/hd-media${LH_DEBIAN_INSTALLER_PRESEEDFILE}" + LH_BOOTAPPEND_PRESEED="file=/hd-media/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}" + ;; + + net) + LH_BOOTAPPEND_PRESEED="file=/${LH_DEBIAN_INSTALLER_PRESEEDFILE}" ;; esac fi |