Problem:
When provisioning an Ubuntu 22.04 Host with multiple network interfaces, only the primary network interface is functional.
Expected outcome:
Additional specified network interfaces are present and functional after deployment.
Foreman and Proxy versions:
3.9.1
Foreman and Proxy plugin versions:
foreman-tasks: 9.0.1
foreman_ansible: 13.0.2
foreman_bootdisk: 21.2.1
foreman_remote_execution: 12.0.2
katello: 4.11.0
Distribution and version:
AlmaLinux 8.9
Other relevant data:
After provisioning, the additional network interface is present, but not working. I was able to get it working manually by fiddling with /etc/netplan/00-installer-config.yaml
The issue seems to be with the deprecated gateway4: property. Instead, the system wants a routes: property configured for each network interface.
I am not confident in my ability to modify the preseed_netplan_generic_interface provisioning template, to replace gateway4: with a properly configured routes:. Hopefully somebody else is already working on this, or can provide some advice/guidance?
Forgot to mention, there’s also an issue with the MAC address. It seems to take the MAC address of the first Network Interface, and put it into the match: property of the bottom interface. I think this is something else that needs to be fixed in preseed_netplan_generic_interface.