I found that there was also a problem checking for the same mac address in the function get_ib_hwaddrs_by_interface().
https://github.com/canonical/cloud-init/blob/dc1d27bae63b51a925e40a80475ae45be62b3857/cloudinit/net/__init__.py#L1133
I found that there was also a problem checking for the same mac address in the function get_ib_ hwaddrs_ by_interface( ).
https:/ /github. com/canonical/ cloud-init/ blob/dc1d27bae6 3b51a925e40a804 75ae45be62b3857 /cloudinit/ net/__init_ _.py#L1133