Commit 1907c961 authored by Jan Siersch's avatar Jan Siersch
Browse files

FIX NetworkManager DHCP spam

parent 3a2c25d6
......@@ -180,7 +180,11 @@ if [[ $doInstallNeutron == true ]]; then
# 7. Add a networking service
# 7.3 Configure compute node
echo "### installing neutron networking ###"
# FIX NetworkManager want to run DHCP on auto-generated ovs bridges
# NOTE using setConfigLine to avoid spaces in config file
setConfigLine "no-auto-default=*" "main" "/etc/NetworkManager/NetworkManager.conf"
# Prerequisites
# Before you configure OpenStack Networking, you must enable certain kernel networking functions.
# Edit /etc/sysctl.conf to contain the following:
......
......@@ -143,6 +143,10 @@ if [[ $doInstallNeutron == true ]]; then
# 7.3 Configure compute node
echo "### installing neutron networking ###"
# FIX NetworkManager want to run DHCP on auto-generated ovs bridges
# NOTE using setConfigLine to avoid spaces in config file
setConfigLine "no-auto-default=*" "main" "/etc/NetworkManager/NetworkManager.conf"
# Edit "/etc/sysctl.conf" to contain the following:
setConfigValue "net.ipv4.ip_forward" "1" "/etc/sysctl.conf"
setConfigValue "net.ipv4.conf.all.rp_filter" "0" "/etc/sysctl.conf"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment