I am using cloud-init v19.1 where I am passing config drive from nova layer while VM deployment.
On a RHEL8 environment, I am observing IPv4 interfaces not coming up. We are setting NM_CONTROLLED = no in the interface files and since RHEL8 recommends to use NetworkManager to configure network and create connectivity it is failing.
we are setting NM_CONTROLLED = no using the code
iface_defaults = tuple([
('ONBOOT', True),
('USERCTL', False), ('NM_CONTROLLED', False), ('BOOTPROTO', 'none'), ('STARTMODE', 'auto'),
])
under the file [1] . Due to which the Network Manager is not able to handle the interfaces
I am using cloud-init v19.1 where I am passing config drive from nova layer while VM deployment.
('NM_CONTROLLE D', False),
('BOOTPROTO' , 'none'),
('STARTMODE' , 'auto'),
On a RHEL8 environment, I am observing IPv4 interfaces not coming up. We are setting NM_CONTROLLED = no in the interface files and since RHEL8 recommends to use NetworkManager to configure network and create connectivity it is failing.
we are setting NM_CONTROLLED = no using the code
iface_defaults = tuple([
('ONBOOT', True),
('USERCTL', False),
])
under the file [1] . Due to which the Network Manager is not able to handle the interfaces
[1] cloudinit/ net/sysconfig. py
Making ('NM_CONTROLLED', True) fixes the issue.