From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: [PATCH v2 1/2] network: support multiple bonding interfaces Date: Tue, 09 Apr 2013 10:53:46 +0200 Message-ID: <5163D71A.5010907@redhat.com> References: <99a1ec144499cee623d5096ce9873bf385616c16.1365413867.git.bhe@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <99a1ec144499cee623d5096ce9873bf385616c16.1365413867.git.bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Baoquan He Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Am 08.04.2013 11:47, schrieb Baoquan He: > From: Harald Hoyer > > 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 > Signed-off-by: Baoquan He > --- > modules.d/40network/ifup.sh | 15 ++++++++++----- > modules.d/40network/net-genrules.sh | 9 ++++++--- > modules.d/40network/parse-bond.sh | 6 +++--- > modules.d/40network/parse-bridge.sh | 6 ------ > modules.d/45ifcfg/write-ifcfg.sh | 9 +++++---- > 5 files changed, 24 insertions(+), 21 deletions(-) > applied