summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index ca468125d..b0b15ff42 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -1,5 +1,6 @@
package network::ethernet;
+use strict;
use network::network;
use modules;
use modules::interactive;
@@ -186,7 +187,6 @@ sub configureNetwork {
if ($last->{BOOTPROTO} =~ /dhcp|bootp|zeroconf/) {
$netc->{minus_one} = 1;
$netc->{DHCP} = 1;
- my $dhcp_hostname = $netc->{HOSTNAME};
$::isInstall and $in->set_help('configureNetworkHostDHCP');
$in->ask_from(N("Configuring network"),
N("Please enter your host name if you know it.