Hi,
Sorry that the reply-email from Dave and Kairui can not be found in my
mail box. I can only reply based on this cover.
Can we create a separate dir for kdump network config file, and let
dracut loads from the dir if in capture kernel.
On 02/01/2019 10:53 PM, Hari Bathini wrote:
> Currently, while building the initrd with dump capture support, if a
> network-based dump target is specified, network is configured in the
> initial ramdisk which includes an interface name change if necessary.
>
> When fadump is configured, the initrd used for booting production
> kernel is rebuilt with dump capturing support. This initrd applies
> the network configuration changes, intended for capturing a dump,
> while booting the production kernel as well, potentially changing
> the network interface name in production kernel. Avoid enforcing
> kdump specific network parameters while boot production kernel to
> tackle that problem. The first patch in this patch-set prefixes all
> network related cmdline conf files with 'kdump' for graceful handling.
> The second patch adds a dracut cmdline hook in the initrd to remove
> network cmdline conf files while booting production kernel. The last
> patch reverts an old commit that is no longer relevant with the
> change in second patch.
>
> ---
>
> Hari Bathini (3):
> add kdump prefix to network cmdline config files
> fadump: avoid renaming network interface name during regular boot
> avoid network interface rename when unnecessary
>
>
> dracut-kdump-boot.sh | 16 ++++++++++++++++
> dracut-module-setup.sh | 31 ++++++++++++++-----------------
> kexec-tools.spec | 3 +++
> 3 files changed, 33 insertions(+), 17 deletions(-)
> create mode 100644 dracut-kdump-boot.sh
> _______________________________________________
> kexec mailing list -- kexec(a)lists.fedoraproject.org
> To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org
>