Linux – What NM_CONTROLLED variable does in centos/RHEL

centoslinuxlinux-networkingredhat

I have found that we can enable or disable network manager using NM_CONTROLLED flag in ifcfg-interface file.

What does this flag do? Can anyone explain correctly?

Best Answer

The variable NM_CONTROLLED determines if the interface will be managed via NetworkManager (yes) or via the legacy network scripts (no).

For a quick example, read here