mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
coreos-overlay: cease ForwardToConsole in journald
This was introduced to assist users in troubleshooting on cloud providers without an interactive console but with read-only access to console output. However, due to how journald implements the forwarding (synchronously) it can have a dramatic impact on the overall logging performance. Fixes https://github.com/coreos/bugs/issues/1162
This commit is contained in:
parent
db40dd1ccc
commit
32bd5ca029
@ -3,7 +3,7 @@
|
||||
set oem_id="azure"
|
||||
|
||||
# Azure only has a serial console.
|
||||
set linux_console="console=ttyS0,115200n8 earlyprintk=ttyS0,115200 systemd.journald.forward_to_console=yes"
|
||||
set linux_console="console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
|
||||
serial com0 --speed=115200 --word=8 --parity=no
|
||||
terminal_input serial_com0
|
||||
terminal_output serial_com0
|
||||
|
@ -4,4 +4,4 @@ set oem_id="ec2"
|
||||
|
||||
# Blacklist the Xen framebuffer module so it doesn't get loaded at boot
|
||||
# Disable `ens3` style names, so eth0 is used for both ixgbevf or xen.
|
||||
set linux_append="modprobe.blacklist=xen_fbfront net.ifnames=0 systemd.journald.forward_to_console=yes"
|
||||
set linux_append="modprobe.blacklist=xen_fbfront net.ifnames=0"
|
||||
|
@ -3,7 +3,6 @@
|
||||
set oem_id="gce"
|
||||
|
||||
# GCE only has a serial console.
|
||||
set linux_append="systemd.journald.forward_to_console=yes"
|
||||
set linux_console="console=ttyS0,115200n8"
|
||||
serial com0 --speed=115200 --word=8 --parity=no
|
||||
terminal_input serial_com0
|
||||
|
Loading…
x
Reference in New Issue
Block a user