Warn the user if network scripts are used
Signed-off-by: Coiby Xu <coxu@redhat.com> Acked-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
parent
d5f6d38173
commit
8178d7a5a1
@ -86,6 +86,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