Disable auto configuration of new interfaces in NetworkManager
NetworkManager in Centos images configures new network devices as soon as they appear in the default namespace, it means that we might have conflicts between the management interface's routes and address and the new VIP or member interfaces' routes and addresses during a small period of time before they are moved to the amphora-haproxy namespace. Now, the "no-auto-default=*" option is enabled in NetworkManager, it disables the configuration of new interfaces, while the management interface is still enabled/configured through cloud-init. Story 2008599 Task 41773 Change-Id: I6dd8e99b07ff557674871cb503dece96a9df3ada (cherry picked from commita518cefda1
) (cherry picked from commitb9f622b335
) (cherry picked from commit7b2424685e
)
This commit is contained in:
parent
131c69608d
commit
0288729295
|
@ -0,0 +1,7 @@
|
||||||
|
[main]
|
||||||
|
# Disable auto configuration for newly detected devices.
|
||||||
|
# This prevents having temporary addresses and routes in the default namespace
|
||||||
|
# between the detection of a new devices and its move to the amphora-haproxy
|
||||||
|
# namespace.
|
||||||
|
# The management interface configuration is triggered by cloud-init.
|
||||||
|
no-auto-default=*
|
Loading…
Reference in New Issue