summaryrefslogtreecommitdiffstats
path: root/zfcp.py
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 /zfcp.py
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)
Diffstat (limited to 'zfcp.py')
-rw-r--r--zfcp.py4
1 files changed, 4 insertions, 0 deletions
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