]> git.ipfire.org Git - thirdparty/dracut.git/commit
network: support multiple bonding interfaces
authorHarald Hoyer <harald@redhat.com>
Mon, 8 Apr 2013 09:47:49 +0000 (17:47 +0800)
committerHarald Hoyer <harald@redhat.com>
Tue, 9 Apr 2013 08:52:22 +0000 (10:52 +0200)
commitd136ca4eeb3d7be2beef210dcf51a18210900844
treee508c6d792b15b2d3281b381cf61f72733f73829
parenta55f910cf6f13e1a6d9d5be769297ee3ecc64bb9
network: support multiple bonding interfaces

Currently dracut only support 1 bond, namyly bond0 by default. However multiple
bonds configuration may be needed. For example in kdump, in 1st kernel, more
than one bonds may be configured, and bondX other than bond0 is used as output
interface to remote host which will store dump core. This patch can solve this
problem, to write real bond information to initramfs, 2nd kdump kernel will
use it to create the relevant bondX interface.

Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Baoquan He <bhe@redhat.com>
modules.d/40network/ifup.sh
modules.d/40network/net-genrules.sh
modules.d/40network/parse-bond.sh
modules.d/40network/parse-bridge.sh
modules.d/45ifcfg/write-ifcfg.sh