Set net.ipv4.ip_forward=1 on the instack vm

When using isntack-virt-setup it makes sense to just go ahead and always
enable IP forwarding so that Overcloud nodes can get external access.

Change-Id: Ie720f34c17cc89946615b2fb091be3352050e24c
This commit is contained in:
James Slagle
2015-04-13 19:40:07 -04:00
parent 62a6f91f91
commit 3eef0211e3

View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -eux
set -o pipefail
# When using instack-virt-setup, it makes sense to always enable IP forwarding
# so the Overcloud nodes can have external access.
cat > /etc/sysctl.d/ip-forward.conf <<EOF
net.ipv4.ip_forward=1
EOF