Skip to content

Commit dda1326

Browse files
committed
COnfigure mcelog to log machine checks to syslog
1 parent 07be5ac commit dda1326

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_debian.sh

+3
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,9 @@ set /files/etc/sysctl.conf/net.core.rmem_max 2097152
387387
set /files/etc/sysctl.conf/net.core.wmem_max 2097152
388388
" -r $FILESYSTEM_ROOT
389389

390+
# Configure mcelog to log machine checks to syslog
391+
sudo sed -i 's/^#syslog = yes/syslog = yes/' $FILESYSTEM_ROOT/etc/mcelog/mcelog.conf
392+
390393
## docker-py is needed by Ansible docker module
391394
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
392395
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install 'docker-py==1.6.0'

0 commit comments

Comments
 (0)