To handle bonds and slaves we must update the logic for active_ethernet_connections as follows:
(1) grep for "bond" as well as "ethernet" (bonds have type "bond"); (2) include the "NAME" field in nmcli "show" output, so that we can
identify slaves;
(3) "grep -v slave" to ignore bonds (it is not relevant to disable IPv6
on a slave and trying to do so results in an error)
To handle bonds and slaves we must update the logic for active_ethernet_connections as follows: (1) grep for "bond" as well as "ethernet" (bonds have type "bond"); (2) include the "NAME" field in nmcli "show" output, so that we can identify slaves; (3) "grep -v slave" to ignore bonds (it is not relevant to disable IPv6 on a slave and trying to do so results in an error)