summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2003-02-10 22:37:43 +0000
committerFrederic Lepied <flepied@mandriva.com>2003-02-10 22:37:43 +0000
commit0df206e5f9768d17aa3ddffd281347e61ddd97eb (patch)
tree6e2ea4164b9a218e08ab8cc71fd9b95bbf70085b /perl-install/network
parent89b4df0e2a6141cd5ca39dc4971c7419efc65133 (diff)
downloaddrakx-0df206e5f9768d17aa3ddffd281347e61ddd97eb.tar
drakx-0df206e5f9768d17aa3ddffd281347e61ddd97eb.tar.gz
drakx-0df206e5f9768d17aa3ddffd281347e61ddd97eb.tar.bz2
drakx-0df206e5f9768d17aa3ddffd281347e61ddd97eb.tar.xz
drakx-0df206e5f9768d17aa3ddffd281347e61ddd97eb.zip
added a text to describe the Zeroconf host name field
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 361eb10fd..5b216a4ec 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -188,9 +188,12 @@ sub configureNetwork {
N("Please enter your host name if you know it.
Some DHCP servers require the hostname to work.
Your host name should be a fully-qualified host name,
-such as ``mybox.mylab.myco.com''."),
+such as ``mybox.mylab.myco.com''.") . N("
+
+Enter a Zeroconf host name without any dot if you don't
+want to use the default host name."),
[ { label => N("Host name"), val => \$netc->{HOSTNAME} },
- if_($netc->{ZEROCONF}, { label => N("Zeroconf Host name"), val => \$netc->{ZEROCONF_HOSTNAME} }),
+ { label => N("Zeroconf Host name"), val => \$netc->{ZEROCONF_HOSTNAME} },
],
complete => sub {
if ($netc->{ZEROCONF_HOSTNAME} and $netc->{ZEROCONF_HOSTNAME} =~ /\./) {