Author: mzugec Date: Fri Aug 15 16:29:18 2008 New Revision: 50127 URL: http://svn.opensuse.org/viewcvs/yast?rev=50127&view=rev Log: - switch regarding 127.0.0.2 entry in /etc/hosts by control.xml (fate#303875) Modified: trunk/network/VERSION trunk/network/package/yast2-network.changes trunk/network/src/installation/inst_hostname.ycp Modified: trunk/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=50127&r1=50126&r2=50127&view=diff ============================================================================== --- trunk/network/VERSION (original) +++ trunk/network/VERSION Fri Aug 15 16:29:18 2008 @@ -1 +1 @@ -2.17.18 +2.17.19 Modified: trunk/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=50127&r1=50126&r2=50127&view=diff ============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Fri Aug 15 16:29:18 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Aug 15 16:27:57 CEST 2008 - mzugec@suse.cz + +- switch regarding 127.0.0.2 entry in /etc/hosts by control.xml + (fate#303875) +- 2.17.19 + +------------------------------------------------------------------- Thu Aug 14 10:31:37 CEST 2008 - mzugec@suse.cz - change hardcoded wlan0 into real device Modified: trunk/network/src/installation/inst_hostname.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/installation/inst_hostname.ycp?rev=50127&r1=50126&r2=50127&view=diff ============================================================================== --- trunk/network/src/installation/inst_hostname.ycp (original) +++ trunk/network/src/installation/inst_hostname.ycp Fri Aug 15 16:29:18 2008 @@ -17,6 +17,8 @@ import "NetworkConfig"; import "String"; import "Wizard"; +import "ProductControl"; +import "ProductFeatures"; include "network/services/dns.ycp"; @@ -25,6 +27,14 @@ //if(GetInstArgs::going_back()) // return `auto; + +// FaTe#303875: Introduce a switch regarding 127.0.0.2 entry in /etc/hosts +boolean whth = ProductFeatures::GetBooleanFeature ("globals", "write_hostname_to_hosts"); +y2milestone("write_hostname_to_hosts value from control.xml : %1", whth); +SCR::Write(.sysconfig.network.dhcp."WRITE_HOSTNAME_TO_HOSTS", whth ? "yes" : "no"); +SCR::Write(.sysconfig.network.dhcp, nil); + + DNS::Read (); // handles NetworkConfig too if (DNS::hostname == "linux") -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org