VM builds: Panic on OOM
This commit is contained in:
parent
5f8571405b
commit
2321f2d55c
@ -80,6 +80,8 @@ rec {
|
|||||||
mount -t proc none /proc
|
mount -t proc none /proc
|
||||||
mount -t sysfs none /sys
|
mount -t sysfs none /sys
|
||||||
|
|
||||||
|
echo 2 > /proc/sys/vm/panic_on_oom
|
||||||
|
|
||||||
for o in $(cat /proc/cmdline); do
|
for o in $(cat /proc/cmdline); do
|
||||||
case $o in
|
case $o in
|
||||||
mountDisk=1)
|
mountDisk=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user