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

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



---
 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
-- 
1.6.0.6


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