From 428a0bbe7a1d34f8c6d8a57ddd96246ceceb1481 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 31 Jan 2004 19:48:17 +0000 Subject: enable to set hostname even when using DHCP (#7230) --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }, -- cgit v1.2.1