diff options
author | Daniel Baumann <daniel@debian.org> | 2012-09-30 09:20:15 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-09-30 09:20:15 +0200 |
commit | a9bb5418c9b9a0b034cb527d3f3a7f3cb274a9de (patch) | |
tree | 7b5688875656354aa319a9b40b64e0546f63b44e /functions | |
parent | b6934184597134270be8f09afb6edca1c45c57f7 (diff) | |
download | vyos-live-build-a9bb5418c9b9a0b034cb527d3f3a7f3cb274a9de.tar.gz vyos-live-build-a9bb5418c9b9a0b034cb527d3f3a7f3cb274a9de.zip |
Using initramfs generator specific boot parameters in syslinux configuration files.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 8af9c8455..cc5c92d53 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -986,6 +986,16 @@ Set_defaults () LB_BOOTAPPEND_FAILSAFE="${LB_BOOTAPPEND_FAILSAFE:-memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" # LB_BOOTAPPEND_LIVE + case "${LB_MODE}" in + ubuntu) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=casper}" + ;; + + *) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=live config}" + ;; + esac + if [ -n "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ] then case "${LB_BINARY_IMAGES}" in |