Merge "Enable ip forwarding on undercloud"

This commit is contained in:
James Slagle 2015-08-25 13:35:20 +02:00 committed by Gerrit Code Review
commit 4f78afa183
1 changed files with 6 additions and 0 deletions

View File

@ -140,4 +140,10 @@ rm -rf $HOME/.novaclient
# setup-endpoints, we need to restart the service.
systemctl restart openstack-nova-compute
# IP forwarding is needed to allow the overcloud nodes access to the outside
# internet in cases where they are on an isolated network.
sysctl -w net.ipv4.ip_forward=1
# Make it persistent
echo "net.ipv4.ip_forward=1" > /etc/sysctl.d/ip-forward.conf
touch $OK_FILE