VM builds: Panic on OOM

This commit is contained in:
Eelco Dolstra 2013-07-04 23:35:31 +02:00
parent 5f8571405b
commit 2321f2d55c

View File

@ -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)