Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65220 - in /branches/SuSE-Code-11-SP2-Branch/network: ./ VERSION package/yast2-network.changes src/installation/inst_hostname.ycp src/modules/DNS.ycp
Author: mvidner
Date: Thu Aug 4 16:06:17 2011
New Revision: 65220

URL: http://svn.opensuse.org/viewcvs/yast?rev=65220&view=rev
Log:
- inst_hostname: do write the randomized /etc/HOSTNAME if left unchanged by
user (bnc#695803).
- Allow empty domain in autoyast profiles again (bnc#677471).

svn merge -r 65194:65196
http://svn.opensuse.org/svn/yast/branches/SuSE-Code-11-SP1-Branch/network .

Modified:
branches/SuSE-Code-11-SP2-Branch/network/ (props changed)
branches/SuSE-Code-11-SP2-Branch/network/VERSION
branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes
branches/SuSE-Code-11-SP2-Branch/network/src/installation/inst_hostname.ycp
branches/SuSE-Code-11-SP2-Branch/network/src/modules/DNS.ycp

Modified: branches/SuSE-Code-11-SP2-Branch/network/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/VERSION?rev=65220&r1=65219&r2=65220&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/network/VERSION (original)
+++ branches/SuSE-Code-11-SP2-Branch/network/VERSION Thu Aug 4 16:06:17 2011
@@ -1 +1 @@
-2.17.158
+2.17.159

Modified: branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes?rev=65220&r1=65219&r2=65220&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes
(original)
+++ branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes Thu
Aug 4 16:06:17 2011
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Wed Aug 3 17:09:21 CEST 2011 - mvidner@xxxxxxx
+
+- inst_hostname: do write the randomized /etc/HOSTNAME if left
+ unchanged by user (bnc#695803).
+- Allow empty domain in autoyast profiles again (bnc#677471).
+- 2.17.159
+
+-------------------------------------------------------------------
Fri Jun 17 15:49:54 CEST 2011 - mvidner@xxxxxxx

- Support biosdevname=1 NIC naming scheme: don't write mac-based udev

Modified:
branches/SuSE-Code-11-SP2-Branch/network/src/installation/inst_hostname.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/src/installation/inst_hostname.ycp?rev=65220&r1=65219&r2=65220&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/network/src/installation/inst_hostname.ycp
(original)
+++ branches/SuSE-Code-11-SP2-Branch/network/src/installation/inst_hostname.ycp
Thu Aug 4 16:06:17 2011
@@ -49,12 +49,6 @@
Wizard::SetDesktopIcon("dns");
ret = HostnameDialog ();
}
-//but we need to force writing /etc/HOSTNAME in such case
-//(#383336)
-else
-{
- DNS::modified = true;
-}

if (ret == `next)
{

Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/DNS.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/src/modules/DNS.ycp?rev=65220&r1=65219&r2=65220&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/network/src/modules/DNS.ycp (original)
+++ branches/SuSE-Code-11-SP2-Branch/network/src/modules/DNS.ycp Thu Aug 4
16:06:17 2011
@@ -188,6 +188,7 @@
{
srandom ();
hostname = "linux-" + String::Random (4); // #157107
+ modified = true;
}
}

@@ -361,9 +362,9 @@
write_hostname = DefaultWriteHostname();

// user-defined <hostname>
- if ( haskey(settings, "hostname") && haskey(settings, "domain")) {
+ if ( haskey(settings, "hostname")) {
hostname = settings["hostname"]:"";
- domain = settings["domain"]:"site";
+ domain = settings["domain"]:""; // empty is not a bug, bnc#677471
}
else {
// otherwise, check 1) install.inf 2) /etc/HOSTNAME

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages