From ac2962a1c5914247b325ce0d1ba5c8bd5cc824e3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 1 Jun 2017 15:48:33 +0200 Subject: tools: sync create-image.sh and create-gce-image.sh Move few additional settings from create-gce-image.sh to create-image.sh. --- tools/create-image.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/create-image.sh') diff --git a/tools/create-image.sh b/tools/create-image.sh index 199f37acd..5b5665d05 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -21,6 +21,9 @@ echo 'debug.exception-trace = 0' | sudo tee -a wheezy/etc/sysctl.conf echo "net.core.bpf_jit_enable = 1" | sudo tee -a wheezy/etc/sysctl.conf echo "net.core.bpf_jit_harden = 2" | sudo tee -a wheezy/etc/sysctl.conf echo "net.ipv4.ping_group_range = 0 65535" | sudo tee -a wheezy/etc/sysctl.conf +echo -en "127.0.0.1\tlocalhost\n" | sudo tee wheezy/etc/hosts +echo "nameserver 8.8.8.8" | sudo tee -a wheezy/etc/resolve.conf +echo "syzkaller" | sudo tee wheezy/etc/hostname sudo mkdir -p wheezy/root/.ssh/ rm -rf ssh mkdir -p ssh -- cgit mrf-deployment