|
|
@ -590,12 +590,12 @@ sub collect_data |
|
|
|
### TODO: Remove this check when ifcfg-X support is dropped. |
|
|
|
### TODO: Remove this check when ifcfg-X support is dropped. |
|
|
|
my $network_type = $anvil->System->check_network_type(); |
|
|
|
my $network_type = $anvil->System->check_network_type(); |
|
|
|
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { network_type => $network_type }}); |
|
|
|
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { network_type => $network_type }}); |
|
|
|
if ($network_type eq "ifcfg") |
|
|
|
# if ($network_type eq "ifcfg") |
|
|
|
{ |
|
|
|
# { |
|
|
|
# Using the old 'ifcfg-X' style. |
|
|
|
# # Using the old 'ifcfg-X' style. |
|
|
|
collect_data_ifcfg($anvil); |
|
|
|
# collect_data_ifcfg($anvil); |
|
|
|
return(0); |
|
|
|
# return(0); |
|
|
|
} |
|
|
|
# } |
|
|
|
|
|
|
|
|
|
|
|
# Collect data from nmcli |
|
|
|
# Collect data from nmcli |
|
|
|
$anvil->Network->collect_data({debug => 2}); |
|
|
|
$anvil->Network->collect_data({debug => 2}); |
|
|
|