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

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



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"

Just noticed a typo here - missing '#' at the beginning of the comment.
I'll fix it before pushing the patch.

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