summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-10-25 14:11:05 +0000
committerJeremy Katz <katzj@redhat.com>2006-10-25 14:11:05 +0000
commit2af485d06fd78c69efd191771d9e49aebb475679 (patch)
tree1803f2ceff5256a6e37da51aff49c8bea2da8e84
parent3babd490e9df84ebb4a973bd82b8e8dd4ae53979 (diff)
downloadanaconda-2af485d06fd78c69efd191771d9e49aebb475679.tar.gz
anaconda-2af485d06fd78c69efd191771d9e49aebb475679.tar.xz
anaconda-2af485d06fd78c69efd191771d9e49aebb475679.zip
2006-10-25 Jeremy Katz <katzj@redhat.com>
* zfcp.py (ZFCP.write): Include zfcp in modprobe.conf so that zfcp luns come up post-install (#210094)
-rw-r--r--ChangeLog5
-rw-r--r--zfcp.py4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e0e08eb5d..c6165af71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-25 Jeremy Katz <katzj@redhat.com>
+
+ * zfcp.py (ZFCP.write): Include zfcp in modprobe.conf so that zfcp
+ luns come up post-install (#210094)
+
2006-10-24 Bill Nottingham <notting@redhat.com>
* iw/netconfig_dialog.py: Use the same widget names as the glade
diff --git a/zfcp.py b/zfcp.py
index 7cd9fae51..cbd419fb1 100644
--- a/zfcp.py
+++ b/zfcp.py
@@ -227,5 +227,9 @@ class ZFCP:
for d in self.fcpdevs:
f.write("%s\n" %(d,))
f.close()
+
+ f = open(instPath + "/etc/modprobe.conf", "a")
+ f.write("alias scsi_hostadapter zfcp\n")
+ f.close()
# vim:tw=78:ts=4:et:sw=4