Warn the user if network scripts are used
Resolves: bz1919052
Upstream: Fedora
Conflict: None
commit 8178d7a5a1
Author: Coiby Xu <coxu@redhat.com>
Date: Thu Apr 1 15:32:14 2021 +0800
Warn the user if network scripts are used
Signed-off-by: Coiby Xu <coxu@redhat.com>
Acked-by: Kairui Song <kasong@redhat.com>
Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
c23189119b
commit
b5c91536c1
@ -89,6 +89,7 @@ kdump_is_vlan() {
|
||||
source_ifcfg_file() {
|
||||
local ifcfg_file
|
||||
|
||||
dwarning "Network Scripts are deprecated. You are encouraged to set up network by NetworkManager."
|
||||
ifcfg_file=$(get_ifcfg_filename $1)
|
||||
if [ -f "${ifcfg_file}" ]; then
|
||||
. ${ifcfg_file}
|
||||
|
Loading…
Reference in New Issue
Block a user