1 |
diff -ruN anaconda-13.21.215.p20/storage/partitioning.py anaconda-13.21.215/storage/partitioning.py |
2 |
--- anaconda-13.21.215.p20/storage/partitioning.py 2014-03-29 21:24:12.000000000 -0700 |
3 |
+++ anaconda-13.21.215/storage/partitioning.py 2014-04-16 17:37:06.000000000 -0700 |
4 |
@@ -92,7 +92,7 @@ |
5 |
raid_devs.append(dev) |
6 |
|
7 |
# use minor="1" so that /dev/md1 is the PV, and /dev/md0 is /boot |
8 |
- part = anaconda.id.storage.newMDArray(fmt_type="lvmpv", minor="1", level="raid1", parents=raid_devs, memberDevices=len(raid_devs)) |
9 |
+ part = anaconda.id.storage.newMDArray(fmt_type="lvmpv", minor="1", level="raid" + request.raidLevel, parents=raid_devs, memberDevices=len(raid_devs)) |
10 |
anaconda.id.storage.createDevice(part) |
11 |
devs.append(part) |
12 |
|