summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-31 19:48:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-31 19:48:17 +0000
commit428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481 (patch)
treeb57694e048677ba3823f346736283cb98647dd2e /perl-install/network
parent9d57d5dbbc09674d3b90ecf11bd4c52bab248f8c (diff)
downloaddrakx-428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481.tar
drakx-428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481.tar.gz
drakx-428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481.tar.bz2
drakx-428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481.tar.xz
drakx-428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481.zip
enable to set hostname even when using DHCP (#7230)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 785915e82..c9e385388 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -944,7 +944,7 @@ Your host name should be a fully-qualified host name,
such as ``mybox.mylab.myco.com''.
You may also enter the IP address of the gateway if you have one."),
data => sub {
- [ if_(!$auto_ip, { label => N("Host name"), val => \$netc->{HOSTNAME} }),
+ [ { label => $auto_ip ? N("Host name (optional)") : N("Host name"), val => \$netc->{HOSTNAME}, advanced => $auto_ip },
{ label => N("DNS server 1"), val => \$netc->{dnsServer} },
{ label => N("DNS server 2"), val => \$netc->{dnsServer2} },
{ label => N("DNS server 3"), val => \$netc->{dnsServer3} },