[PATCH] Setup mdadm to turn off homehost (#1156614)

Brian C. Lane bcl at redhat.com
Tue Oct 28 18:37:52 UTC 2014


---
 share/runtime-postinstall.tmpl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index eaa3fd6..b383e87 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -18,6 +18,10 @@ move ${PYTHONDIR}/site-packages/pyanaconda/sitecustomize.py ${PYTHONDIR}/site-pa
 ## move_repos()
 move etc/yum.repos.d etc/anaconda.repos.d
 
+## Setup mdadm config to turn off homehost
+remove etc/mdadm.conf
+append etc/mdadm.conf "AUTO -all\nHOMEHOST <any>\n"
+
 ## Configure systemd to start anaconda
 remove etc/systemd/system/default.target
 symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target
-- 
1.9.3



More information about the anaconda-patches mailing list