diff options
| -rwxr-xr-x | tools/create-gce-image.sh | 2 | ||||
| -rwxr-xr-x | tools/create-image.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh index c3f6cc12e..1a6ddca2b 100755 --- a/tools/create-gce-image.sh +++ b/tools/create-gce-image.sh @@ -66,7 +66,7 @@ echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" | sudo tee -a disk.mnt/et echo -en "\nauto eth0\niface eth0 inet dhcp\n" | sudo tee -a disk.mnt/etc/network/interfaces echo "debugfs /sys/kernel/debug debugfs defaults 0 0" | sudo tee -a disk.mnt/etc/fstab echo "debug.exception-trace = 0" | sudo tee -a disk.mnt/etc/sysctl.conf -echo "net.core.bpf_jit_enable = 2" | sudo tee -a disk.mnt/etc/sysctl.conf +echo "net.core.bpf_jit_enable = 1" | sudo tee -a disk.mnt/etc/sysctl.conf echo "net.core.bpf_jit_harden = 2" | sudo tee -a disk.mnt/etc/sysctl.conf echo -en "127.0.0.1\tlocalhost\n" | sudo tee disk.mnt/etc/hosts echo "nameserver 8.8.8.8" | sudo tee -a disk.mnt/etc/resolve.conf diff --git a/tools/create-image.sh b/tools/create-image.sh index 9fa12c4bc..e0533ca93 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -17,7 +17,7 @@ echo 'T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' | sudo tee -a wheezy/etc/ printf '\nauto eth0\niface eth0 inet dhcp\n' | sudo tee -a wheezy/etc/network/interfaces echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a wheezy/etc/fstab echo 'debug.exception-trace = 0' | sudo tee -a wheezy/etc/sysctl.conf -echo "net.core.bpf_jit_enable = 2" | 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 sudo mkdir -p wheezy/root/.ssh/ rm -rf ssh |
