File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
249
249
mtr-tiny \
250
250
locales \
251
251
flashrom \
252
- cgroup-tools
252
+ cgroup-tools \
253
+ mcelog
253
254
254
255
# Adds a locale to a debian system in non-interactive mode
255
256
sudo sed -i ' /^#.* en_US.* /s/^#//' $FILESYSTEM_ROOT /etc/locale.gen && \
@@ -380,6 +381,9 @@ set /files/etc/sysctl.conf/net.core.rmem_max 2097152
380
381
set /files/etc/sysctl.conf/net.core.wmem_max 2097152
381
382
" -r $FILESYSTEM_ROOT
382
383
384
+ # Configure mcelog to log machine checks to syslog
385
+ sudo sed -i ' s/^#syslog = yes/syslog = yes/' $FILESYSTEM_ROOT /etc/mcelog/mcelog.conf
386
+
383
387
# # docker-py is needed by Ansible docker module
384
388
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
385
389
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install ' docker-py==1.6.0'
You can’t perform that action at this time.
0 commit comments