[201811] Install mcelog package to host OS; log machine check exceptions (MCE) to syslog (#3160)
This commit is contained in:
parent
ae3ae7d1cf
commit
ea81f4056b
@ -243,7 +243,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
|
||||
python-scapy \
|
||||
tcptraceroute \
|
||||
mtr-tiny \
|
||||
locales
|
||||
locales \
|
||||
mcelog
|
||||
|
||||
#Adds a locale to a debian system in non-interactive mode
|
||||
sudo sed -i '/^#.* en_US.* /s/^#//' $FILESYSTEM_ROOT/etc/locale.gen && \
|
||||
@ -377,6 +378,9 @@ set /files/etc/sysctl.conf/net.core.rmem_max 2097152
|
||||
set /files/etc/sysctl.conf/net.core.wmem_max 2097152
|
||||
" -r $FILESYSTEM_ROOT
|
||||
|
||||
# Configure mcelog to log machine checks to syslog
|
||||
sudo sed -i 's/^#syslog = yes/syslog = yes/' $FILESYSTEM_ROOT/etc/mcelog/mcelog.conf
|
||||
|
||||
## docker-py is needed by Ansible docker module
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install 'docker-py==1.6.0'
|
||||
|
Loading…
Reference in New Issue
Block a user