summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-23 14:09:18 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-23 14:09:18 +0000
commit76148cce09387bb0e283c0808becfe8fcf4ba158 (patch)
tree8c177e6b44c671a80ffb71afe5743732999952c5
parentUpdating. (diff)
downloadsystem-images-76148cce09387bb0e283c0808becfe8fcf4ba158.tar.xz
system-images-76148cce09387bb0e283c0808becfe8fcf4ba158.zip
Updating.
-rwxr-xr-xshare/images/container-server/config/hooks/normal/0003-ip-forward.chroot5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/images/container-server/config/hooks/normal/0003-ip-forward.chroot b/share/images/container-server/config/hooks/normal/0003-ip-forward.chroot
new file mode 100755
index 0000000..8b5f9a8
--- /dev/null
+++ b/share/images/container-server/config/hooks/normal/0003-ip-forward.chroot
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+echo "net.ipv4.ip_forward = 1" > /etc/sysctl.d/ip_foward.conf