Disabled the collect_ifcfg_data() method entirely.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 11 months ago
parent 76218dcd32
commit ebd96c7eb3
  1. 12
      scancore-agents/scan-network/scan-network

@ -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});

Loading…
Cancel
Save