[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Write out "MAILADDR root" into mdadm.conf (#508321)



Looks ok to me,

Regards,

Hanbs


On 06/30/2009 11:42 AM, Radek Vykydal wrote:
---
  storage/__init__.py |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 16de311..4a34140 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1814,7 +1814,8 @@ class FSSet(object):
      def mdadmConf(self):
          """ Return the contents of mdadm.conf. """
          arrays = self.devicetree.getDevicesByType("mdarray")
-        conf = ""
+        conf = "mdadm.conf written out by anaconda\n"
+        conf += "MAILADDR root\n"
          devices = self.mountpoints.values() + self.swapDevices
          for array in arrays:
              writeConf = False


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]