From 5de4ef6cb71a4a07492ab0f28b0bb35cb6ab2e21 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 15 Nov 2020 13:03:33 +0100 Subject: tools/create-gce-image.sh: move sysctl's to executor Move the remaining sysctls from image creation scripts into executor. We have the rest in executor now, and these are captured in reproducers and are not duplicated. It seems that ping_group_range was accidentially lost along the way, re-add it. --- tools/create-image.sh | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tools/create-image.sh') diff --git a/tools/create-image.sh b/tools/create-image.sh index 0a71efb7a..4dd9b2594 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -162,15 +162,6 @@ echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a $DIR/etc/fst echo 'securityfs /sys/kernel/security securityfs defaults 0 0' | sudo tee -a $DIR/etc/fstab echo 'configfs /sys/kernel/config/ configfs defaults 0 0' | sudo tee -a $DIR/etc/fstab echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a $DIR/etc/fstab -echo "kernel.printk = 7 4 1 3" | sudo tee -a $DIR/etc/sysctl.conf -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 "net.core.bpf_jit_kallsyms = 1" | sudo tee -a $DIR/etc/sysctl.conf -echo "net.core.bpf_jit_harden = 0" | 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 = 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 echo "syzkaller" | sudo tee $DIR/etc/hostname -- cgit mrf-deployment