diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-21 16:50:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-21 16:50:09 +0000 |
commit | 9556a305af3e501c67090f2e5274de67fc1bc17a (patch) | |
tree | 9cbebbce14cddb69025b0049767cec5a507c4adc | |
parent | 308e29f3d74b047d2ed126c3b21a02f9dcefa903 (diff) | |
download | drakx-backup-do-not-use-9556a305af3e501c67090f2e5274de67fc1bc17a.tar drakx-backup-do-not-use-9556a305af3e501c67090f2e5274de67fc1bc17a.tar.gz drakx-backup-do-not-use-9556a305af3e501c67090f2e5274de67fc1bc17a.tar.bz2 drakx-backup-do-not-use-9556a305af3e501c67090f2e5274de67fc1bc17a.tar.xz drakx-backup-do-not-use-9556a305af3e501c67090f2e5274de67fc1bc17a.zip |
dhcp host name cannot be set if one want to get it from dhcp server
-rw-r--r-- | perl-install/network/network.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 856f7b3f0..2b1f5c944 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -349,7 +349,7 @@ notation (for example, 1.2.3.4)."); { label => N("IP address"), val => \$intf->{IPADDR}, disabled => sub { $auto_ip } }, { label => N("Netmask"), val => \$intf->{NETMASK}, disabled => sub { $auto_ip } }, - { label => N("DHCP host name"), val => \$intf->{DHCP_HOSTNAME}, disabled => sub { ! $auto_ip }, advanced => 1 }, + { label => N("DHCP host name"), val => \$intf->{DHCP_HOSTNAME}, disabled => sub { ! ($auto_ip && $needhostname) }, advanced => 1 }, { text => N("Track network card id (useful for laptops)"), val => \$track_network_id, type => "bool", advanced => 1 }, { text => N("Network Hotplugging"), val => \$hotplug, type => "bool", advanced => 1 }, { text => N("Assign host name from DHCP address"), val => \$needhostname, type => "bool", disabled => sub { ! $auto_ip }, advanced => 1 }, |