What changes are required in Foreman provisioning template to use new way of Networking which is enabled by reading /etc/NetworkManager/system-connections/ instead of /etc/sysconfig/network-scripts(old way) .Does latest provisioning templates support this ?
Unfortunately the templates have not been changed to reflect this upstream change.
To add support for this I would rename kickstart_networking_setup to kickstart_networking_setup_ifcfg. Add a similar snippet as kickstart_networking_setup_networkmanager and a new one as kickstart_networking_setup containing an if-clause taking the kickstart_networking_setup_ifcfg for EL < 9 and Fedora < 36 (?) and the new kickstart_networking_setup_networkmanager as default.
I do not see an issue for this already. So if you can add a template this would be great, if not can you create an issue at Overview - Foreman? Thanks for bringing this up.