Merge "Ensure that ip_forwarding is always enabled for compute and network"
diff --git a/stack.sh b/stack.sh
index cefd635..4a86eb4 100755
--- a/stack.sh
+++ b/stack.sh
@@ -912,6 +912,9 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apt_get install libvirt-bin
+ # Force IP forwarding on, just on case
+ sudo sysctl -w net.ipv4.ip_forward=1
+
# attempt to load modules: network block device - used to manage qcow images
sudo modprobe nbd || true
@@ -993,6 +996,9 @@
clean_iptables
rm -rf $NOVA_DIR/networks
mkdir -p $NOVA_DIR/networks
+
+ # Force IP forwarding on, just on case
+ sudo sysctl -w net.ipv4.ip_forward=1
fi
# Storage Service