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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux