From 7456eb676a9192659d119a3cc5711e0c92e0cd33 Mon Sep 17 00:00:00 2001 From: Dmitry Bilunov Date: Wed, 23 Mar 2016 14:51:00 +0300 Subject: [PATCH] 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 --- iso/bootstrap_admin_node.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iso/bootstrap_admin_node.sh b/iso/bootstrap_admin_node.sh index d1d0440da..e300f194f 100755 --- a/iso/bootstrap_admin_node.sh +++ b/iso/bootstrap_admin_node.sh @@ -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