Ensure that ip_forwarding is always enabled for compute and network
Libvirt gets this in most cases, but it can be disabled. This is belts + suspenders + super glue... Fixes bug 885274 Change-Id: Ifb8d627689800b23cce02a623caa525cd17e507d
This commit is contained in:
parent
165121f7b6
commit
0b31e8678e
6
stack.sh
6
stack.sh
@ -886,6 +886,9 @@ if is_service_enabled n-cpu; then
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
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
|
||||
|
||||
@ -967,6 +970,9 @@ if is_service_enabled n-net; then
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user