summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-10 01:54:45 +0000
committerMatt Wilson <msw@redhat.com>1999-09-10 01:54:45 +0000
commit7e226edede7c429b92bbb575c9bbf52c74359702 (patch)
treee5dceba4f28878818c634e704f3560fab0f59266 /todo.py
parentfa0444acb7b158fe3db3a1546efa608326bd9e5b (diff)
downloadanaconda-7e226edede7c429b92bbb575c9bbf52c74359702.tar.gz
anaconda-7e226edede7c429b92bbb575c9bbf52c74359702.tar.xz
anaconda-7e226edede7c429b92bbb575c9bbf52c74359702.zip
Raid works!!!
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/todo.py b/todo.py
index b7da0508d..eafe90a19 100644
--- a/todo.py
+++ b/todo.py
@@ -459,7 +459,7 @@ class ToDo:
isys.makeDevInode(device, '/tmp/' + device)
rt.write("raiddev /tmp/%s\n" % (device,))
- rt.write("raid-level %d\n % (raidType,)")
+ rt.write("raid-level %d\n" % (raidType,))
rt.write("nr-raid-disks %d\n" % (len(makeup),))
rt.write("chunk-size 64k\n")
rt.write("persistent-superblock 1\n");
@@ -479,7 +479,7 @@ class ToDo:
w = self.intf.waitWindow(_("Creating"),
_("Creating RAID devices..."))
- for (mntpoint, device, makeup) in raid:
+ for (mntpoint, device, raidType, makeup) in raid:
iutil.execWithRedirect ("/usr/sbin/mkraid",
[ 'mkraid', '--really-force', '--configfile',
'/tmp/raidtab', '/tmp/' + device ])