]> git.ipfire.org Git - thirdparty/dracut.git/commit
bonding: use hwaddr of the slave rather than the master
authorAlex Harpin <development@landsofshadow.co.uk>
Tue, 6 May 2014 22:41:17 +0000 (23:41 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 3 Jun 2014 10:26:01 +0000 (12:26 +0200)
commit83c9ff7dbb465bedb10119bb2883d34266922180
tree854095227bd1a9109b9df57842810363148dfe6d
parent827ec27a9c36755095dda899eff75cdae78b2120
bonding: use hwaddr of the slave rather than the master

When a bonded interface is brought up, any slaves included in the bond
have their hardware address set to that of the bond master.  Although
this allows an interface to be brought up on start up, when the
configuration file is imported into the booted system it prevents
the bonded interface being successfully restarted.

The fix involves obtaining the hardware address of the slaves before
they are added to the bond and then using this value in the
configuration file.
modules.d/40network/ifup.sh
modules.d/45ifcfg/write-ifcfg.sh