kfan / rpms / kexec-tools

Forked from rpms/kexec-tools 3 years ago
Clone

e8e5a6a module-setup: Add permanent option to detect static ip address or not

1 file Authored by Minfei Huang 8 years ago, Committed by Baoquan He 8 years ago,
    module-setup: Add permanent option to detect static ip address or not
    
    Dracut will die in the situation that dracut detects to use dhcp to
    setup ip address, but kdump passes the ip address to it.
    
    In commit 7ea50dc7a38d14009b9be36f6d6ca59a89a430be, we start to use
    option permanent to get the ip address in kdump_static_ip. If the
    network is setuped by static, we will get the ip address, otherwise
    getting none.
    
    In commit c994a80698b6b12e50791b36fe40ae36485098d0 which it used to
    support ipv6 protocol, I miss the option permanent.
    
    This patch is not a fixing patch, just pulls back something to make
    kdump work as original.
    
    Signed-off-by: Minfei Huang <mhuang@redhat.com>
    Acked-by: Dave Young <dyoung@redhat.com>
    
        
file modified
+1 -1