[debian]: Add kernel configuration to reboot on kernel soft lockup (#594)
This commit is contained in:
parent
b26ec863e8
commit
a5088ae9ec
@ -217,6 +217,9 @@ sudo mkdir -p $FILESYSTEM_ROOT/var/core
|
||||
sudo augtool --autosave "
|
||||
set /files/etc/sysctl.conf/kernel.core_pattern '|/usr/bin/coredump-compress %e %p'
|
||||
|
||||
set /files/etc/sysctl.conf/kernel.softlockup_panic 1
|
||||
set /files/etc/sysctl.conf/kernel.panic 10
|
||||
|
||||
set /files/etc/sysctl.conf/net.ipv4.conf.default.forwarding 1
|
||||
set /files/etc/sysctl.conf/net.ipv4.conf.all.forwarding 1
|
||||
set /files/etc/sysctl.conf/net.ipv4.conf.eth0.forwarding 0
|
||||
|
Loading…
Reference in New Issue
Block a user