diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-06-25 14:54:56 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-06-25 14:54:56 +0000 |
commit | cbafc21c0675e3fc7dc4f6c2b8cafe0935845152 (patch) | |
tree | e8cba1f47687ad3f02e07cd815da1ecefb248318 /lib/network | |
parent | 4cf8e149729b8a76ae5ec93f078d2eea43f9af9c (diff) | |
download | drakx-net-cbafc21c0675e3fc7dc4f6c2b8cafe0935845152.tar drakx-net-cbafc21c0675e3fc7dc4f6c2b8cafe0935845152.tar.gz drakx-net-cbafc21c0675e3fc7dc4f6c2b8cafe0935845152.tar.bz2 drakx-net-cbafc21c0675e3fc7dc4f6c2b8cafe0935845152.tar.xz drakx-net-cbafc21c0675e3fc7dc4f6c2b8cafe0935845152.zip |
Added help for hostname settings (#35143, #38557, #47364).
Diffstat (limited to 'lib/network')
-rw-r--r-- | lib/network/connection/ethernet.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm index d764f4d..c7a76ea 100644 --- a/lib/network/connection/ethernet.pm +++ b/lib/network/connection/ethernet.pm @@ -213,9 +213,11 @@ sub get_hostname_settings { $self->{address}{hostname} = 'localhost.localdomain' unless $self->{address}{hostname}; [ if_($self->{protocol} eq 'dhcp', - { text => N("Assign host name from DHCP server (or generate a unique one)"), val => \$self->{address}{needhostname}, type => "bool" }, + { text => N("Assign host name from DHCP server (or generate a unique one)"), val => \$self->{address}{needhostname}, type => "bool", + help => N("This will allow the server to attribute a name for this machine. If the server does not provides a valid host name, it will be generated automatically.")}, ), - { label => N("Host name"), val => \$self->{address}{hostname}, disabled => $auto_hostname }, + { label => N("Host name"), val => \$self->{address}{hostname}, disabled => $auto_hostname, + help => N("You should define the hostname of this machine, which will identify this PC. Note that this hostname will be shared among all network connections. If left blank, 'localhost.localdomain' will be used.")}, ]; } |