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: If6c65a08c83e9ff5b4a828e2a45c34c78e571e72
Closes-Bug: #1535419
This commit is contained in:
Dmitry Bilunov 2016-01-20 00:52:21 +03:00
parent 07abee63a7
commit 9a54f3a9aa

View File

@ -83,7 +83,10 @@ $admin_iface = 'eth0',
}
#Suppress kernel messages to console
sysctl::value{'kernel.printk': value => '4 1 1 7'}
sysctl::value{'kernel.printk':
value => '4 1 1 7',
target => '/etc/sysctl.d/98-printk.conf',
}
#Increase values for neighbour table
sysctl::value{'net.ipv4.neigh.default.gc_thresh1': value => '256'}