Skip to content

openshift/disable-autodhcp

Disable NetworkManager auto-DHCP on all interfaces

When set to true, injects a MachineConfig that disables NetworkManager's automatic DHCP behavior on all interfaces. This prevents secondary NICs (e.g. storage networks) from acquiring unexpected DHCP leases that can interfere with cluster networking.

The MachineConfig is applied to both master and worker roles and writes /etc/NetworkManager/conf.d/no-auto-default.conf with no-auto-default=*.

Usage

Set on the cluster profile:

YAML
openshift/disable-autodhcp: true

Objects that Reference openshift/disable-autodhcp

Objects used by openshift/disable-autodhcp

Not used in current content packs