reboot kernel on panic
This commit is contained in:
parent
ae6e96849e
commit
0d7394db9a
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ prepare_environment() {
|
||||||
modprobe overlay
|
modprobe overlay
|
||||||
modprobe squashfs
|
modprobe squashfs
|
||||||
|
|
||||||
|
sysctl kernel.panic=10
|
||||||
|
|
||||||
echo "Creating workspace in '${WORKDIR}'..."
|
echo "Creating workspace in '${WORKDIR}'..."
|
||||||
# workspace
|
# workspace
|
||||||
mkdir -p "${WORKDIR}"
|
mkdir -p "${WORKDIR}"
|
||||||
|
|
Loading…
Reference in a new issue