aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create-image.sh')
-rwxr-xr-xtools/create-image.sh3
1 files changed, 3 insertions, 0 deletions
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