94f8ee Add functions to copy NetworkManage connection profiles to the initramfs

Authored and Committed by Coiby Xu 2 years ago
    Add functions to copy NetworkManage connection profiles to the initramfs
    
    Resolves: bz2076416
    Upstream: Fedora
    Conflict: None
    
    commit d25b1ee31c0c7eee43362c96d5e76f6fb0e90a25
    Author: Coiby Xu <coxu@redhat.com>
    Date:   Thu Sep 9 11:35:52 2021 +0800
    
        Add functions to copy NetworkManage connection profiles to the initramfs
    
        Each network interface is manged by a NM connection. Given a list of
        network interface names, copy the NetworkManager (NM) connection
        profiles i.e. .nmconnection files to the kdump initramfs.
    
        Before copying a connection file, clone it to automatically convert a
        legacy ifcfg-*[1] file to a .nmconnection file and for the convenience of
        editing the connection profile.
    
        [1] https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh
    
        Signed-off-by: Coiby Xu <coxu@redhat.com>
        Reviewed-by: Thomas Haller <thaller@redhat.com>
        Reviewed-by: Philipp Rudo <prudo@redhat.com>
    
    Signed-off-by: Coiby Xu <coxu@redhat.com>
    
        
file modified
+77 -0