mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
Merge pull request #281 from crawford/bootargs
configure_bootloaders: only add a single serial console boot arg
This commit is contained in:
commit
64dc62a01b
@ -83,7 +83,11 @@ configure_syslinux() {
|
||||
|
||||
# Add ttyS0 as a secondary console, useful for qemu -nographic
|
||||
# This leaves /dev/console mapped to tty0 (vga) which is reasonable default.
|
||||
if [[ ${common_args} == *console=ttyS* ]] ; then
|
||||
syslinux_args="${common_args}"
|
||||
else
|
||||
syslinux_args="console=ttyS0,115200n8 ${common_args}"
|
||||
fi
|
||||
|
||||
sudo_clobber "${SYSLINUX_DIR}/syslinux.cfg" <<EOF
|
||||
SERIAL 0 115200
|
||||
|
Loading…
x
Reference in New Issue
Block a user