ansible-role-interfaces
ansible-role-interfaces copied to clipboard
Some bonded interface fixes
- Support static DNS config on bonded interfaces . Fixes #103.
- Makes
onboot
optional for bonded interfaces, as it is for the others. - Use
MACADDR
on Red Hat systems to set the address. [1]
[1] Note that I have only changed this in the bond template, because it's necessary for my use case. Changing it in the other templates would cause surprising compatibility problems if anyone is already using hwaddr
to choose the interface by MAC address.
It wouldn't make sense to support HWADDR for bonds and bridges, but it probably makes sense to support both for ethernet interfaces. I'll send some changes. 👍🏻