ifcfg scripts are deprecated. kexec-tools still set up network
based on ifcfg scripts which lead to the issues like [1] [2].
We can get network configuration including dns, bond and znet by
parsing nmcli output instead. Another benefit is we could potentially
avoid subtle bugs caused by namespace pollution because of sourcing
ifcfg scripts.
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1919052
[2]
https://bugzilla.redhat.com/show_bug.cgi?id=1933679
Coiby Xu (8):
Parse option value from nmcli output
Get nmcli connection id by ifname
get nmcli connection show output by ifname
setup s390 znet cmdline by parsing nmcli connection show output
setup dns by parsing nmcli connection show output
setup bond by parsing nmcli connection show output
clean up codes related to ifcfg scripts
clean up unused is_nm_* functions
dracut-module-setup.sh | 72 +++++++++++++---------------
kdump-lib.sh | 106 ++++++++++++-----------------------------
2 files changed, 65 insertions(+), 113 deletions(-)
--
2.30.1