summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-01-05 19:56:50 +0000
committerColin Guthrie <colin@mageia.org>2014-01-05 20:00:31 +0000
commit21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a (patch)
treee3051db9a673646618bf15dea1511ec585c6d53e /lib
parent8859bff312e8b6064b6f1a20f8c5a647bf5e5d2b (diff)
downloaddrakx-net-21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a.tar
drakx-net-21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a.tar.gz
drakx-net-21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a.tar.bz2
drakx-net-21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a.tar.xz
drakx-net-21c4a89f2b05625e362d7ff78a7fb2b1d4a9302a.zip
Nuke an ethN regexp that prevents network coming up in installer mga#11592
Diffstat (limited to 'lib')
-rw-r--r--lib/network/network.pm2
1 files changed, 1 insertions, 1 deletions
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} ||= {};