Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: As we're moving toward dropping legacy ifcfg support in Fedora, one major sticking point is that cloud-init does not support configuring NetworkManager directly using NM keyfiles. This omission means that cloud-init requires the ifcfg-rh plugin to remain enabled to correctly configure the network. In order for Fedora Cloud Edition to be able to turn off the ifcfg-rh functionality, we need for cloud-init to work without relying on that. Version-Release number of selected component (if applicable): 21.3-2.fc36 Additional info: This somewhat relates to https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh
Note that it's *sort of* technically possible for cloud-init currently to configure NetworkManager through the Netplan backend, but we do not currently have Netplan packaged. I would prefer that cloud-init could configure NetworkManager directly with keyfiles rather than using Netplan, though.
Lubomir Rintel has submitted a pull request to add support for NetworkManager in cloud-init: https://github.com/canonical/cloud-init/pull/1224
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
This is now implemented with cloud-init-22.1-1: https://src.fedoraproject.org/rpms/cloud-init/c/b954b98a1c25b8db753dcd4545e2a72bbd0a2790