Skip to content

Commit

Permalink
[debian]: Add kernel configuration to reboot on kernel soft lockup (#594
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pavel-shirshov authored and Shuotian Cheng committed May 12, 2017
1 parent b26ec86 commit a5088ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5088ae

Please sign in to comment.