From 21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 5 Jan 2014 19:56:50 +0000 Subject: Nuke an ethN regexp that prevents network coming up in installer mga#11592 --- lib/network/network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network/network.pm') diff --git a/lib/network/network.pm b/lib/network/network.pm index e039821..6b78b4c 100644 --- a/lib/network/network.pm +++ b/lib/network/network.pm @@ -783,7 +783,7 @@ sub easy_dhcp { modules::load_category($modules_conf, list_modules::ethernet_categories()); my @all_dev = sort map { $_->[0] } network::connection::ethernet::get_eth_cards($modules_conf); - my @ether_dev = grep { /^eth[0-9]+$/ && `LC_ALL= LANG= $::prefix/sbin/ip -o link show $_ 2>/dev/null` =~ m|\slink/ether\s| } @all_dev; + my @ether_dev = grep { `LC_ALL= LANG= $::prefix/sbin/ip -o link show $_ 2>/dev/null` =~ m|\slink/ether\s| } @all_dev; foreach my $dhcp_intf (@ether_dev) { log::explanations("easy_dhcp: found $dhcp_intf"); $net->{ifcfg}{$dhcp_intf} ||= {}; -- cgit v1.2.1