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:
10
elements/instack-vm/install.d/50-ip-forward
Executable file
10
elements/instack-vm/install.d/50-ip-forward
Executable 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
|
||||
Reference in New Issue
Block a user