> Alternatively, if you're attached to the name bond0, you might be able > to something like this (not tested with systemd-networkd): > > /etc/modprobe.d/rename-bond.conf: > > install bonding /usr/sbin/modprobe --ignore-install bonding \ > $CMDLINE_OPTS; /usr/sbin/ip link set dev bond0 down; \ > /usr/sbin/ifrename -c /dev/null -i bond0 -n FOO > >/dev/null >
It doesn't work. It just removed bond interfaces completely (it doesn't matter whether I use bond0 or bond1): root:~# networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier configured 2 eth1 ether off configuring 3 ifb0 ether off unmanaged 4 ifb1 ether off unmanaged 5 wlan0 wlan degraded configuring 6 br_lxc ether no-carrier configured 6 links listed. Maybe I just stay with the bond1 interface.
pgpU2SChggEgT.pgp
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
