aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-image.sh
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-05-19 10:48:34 +0200
committerGitHub <noreply@github.com>2018-05-19 10:48:34 +0200
commitf48c20b8f9b2a6c26629f11cc15e1c9c316572c8 (patch)
tree501c200b3c86ad7452c5e1161b20233278791214 /tools/create-image.sh
parent849705db5cd36907fecfb80a4e3339542033b11e (diff)
tools/create-image.sh: fix watchdog_thresh value
watchdog_thresh is capped at 60, so 120 causes EINVAL.
Diffstat (limited to 'tools/create-image.sh')
-rwxr-xr-xtools/create-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh
index 14f9ed0a7..9f8248293 100755
--- a/tools/create-image.sh
+++ b/tools/create-image.sh
@@ -25,7 +25,7 @@ echo 'debug.exception-trace = 0' | sudo tee -a $DIR/etc/sysctl.conf
echo "net.core.bpf_jit_enable = 1" | sudo tee -a $DIR/etc/sysctl.conf
echo "kernel.softlockup_all_cpu_backtrace = 1" | sudo tee -a $DIR/etc/sysctl.conf
echo "kernel.kptr_restrict = 0" | sudo tee -a $DIR/etc/sysctl.conf
-echo "kernel.watchdog_thresh = 120" | sudo tee -a $DIR/etc/sysctl.conf
+echo "kernel.watchdog_thresh = 60" | sudo tee -a $DIR/etc/sysctl.conf
echo "net.ipv4.ping_group_range = 0 65535" | sudo tee -a $DIR/etc/sysctl.conf
echo -en "127.0.0.1\tlocalhost\n" | sudo tee $DIR/etc/hosts
echo "nameserver 8.8.8.8" | sudo tee -a $DIR/etc/resolve.conf