bonding on ubuntu causes foreman to create an interface after each ubuntu server reboot
When configuring bonding on ubuntu, ubuntu will generate a new mac address each time the server (network?) is restarted. This causes foreman to list multiple interfaces with same name (bondx) but with different mac address. Trying to delete the unused interfaces fails and rebuild of the server is not possible.
1. Install a ubuntu server with foreman.
2. Configure a bond interface on ubuntu (Im doing this in puppet).
3. Reboot ubuntu multiple times to get multiple interfaces listed in forman.
4. Delete one of those interfaces (FAIL).
Workaround is to manually configure a mac address for the bond interface.
Fixes #10607 - match bonds based on identifier only
(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)