Set console loglevel to a lower value to avoid tty spam
Currently a mass of debug\error\etc messages from drivers errors\etc spam to tty* - this totally blocks possibility to connect and debug with tty* We should set console_loglevel to a lower value, so the screen isn't littered by kernel messages. Also these messages break the look of fuelmenu (which, currently, has own printk setting code). Change-Id: I765367e641f9b773701e9e0d1470b3a166a9e91a Closes-Bug: #1535419
This commit is contained in:
parent
be7068e7d8
commit
7456eb676a
|
@ -13,6 +13,10 @@ LOGFILE=${LOGFILE:-/var/log/puppet/bootstrap_admin_node.log}
|
|||
exec > >(tee -i "${LOGFILE}")
|
||||
exec 2>&1
|
||||
|
||||
# LP#1535419: Hide too verbose kernel messages to prevent tty being
|
||||
# filled with spam.
|
||||
sysctl -w kernel.printk='4 1 1 7'
|
||||
|
||||
VBOX_BLACKLIST_MODULES="i2c_piix4 intel_rapl"
|
||||
|
||||
# The following packages need to be installed prior to installing any other ones
|
||||
|
|
Loading…
Reference in New Issue