Merge "dhcp-all-interfaces: let NetworkManager doit."
This commit is contained in:
commit
dbe9995015
@ -5,6 +5,10 @@ else
|
||||
export IPA_DISTRO_FAMILY=other
|
||||
fi
|
||||
|
||||
if [[ ${DISTRO_NAME} =~ (centos|rhel) && ${DIB_RELEASE%-stream} > 7 ]]; then
|
||||
export DIB_DHCP_NETWORK_MANAGER_AUTO=${DIB_DHCP_NETWORK_MANAGER_AUTO:-true}
|
||||
fi
|
||||
|
||||
# NOTE(rpittau) force Python version to 3 for debian
|
||||
if [[ $DISTRO_NAME =~ debian ]]; then
|
||||
DIB_PYTHON_VERSION=3
|
||||
|
@ -0,0 +1,14 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
On RHEL and CentOS 8 and later the *dhcp-all-interfaces* diskimage-builder
|
||||
element is now configured to only apply NetworkManager configuration by
|
||||
default. The *dhcp-all-interfaces* service will not be enabled.
|
||||
To re-enable the *dhcp-all-interfaces* service, set
|
||||
``DIB_DHCP_NETWORK_MANAGER_AUTO=false`` in the environment.
|
||||
|
||||
NetworkManager is quite capable to do automatic interface configuration.
|
||||
NetworkManager will by default try to auto-configure any interface with
|
||||
no configuration, it will use DHCP for IPv4 and Router Advertisements to
|
||||
decide how to initialize IPv6.
|
||||
|
Loading…
Reference in New Issue
Block a user