summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-25 15:50:17 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-25 15:50:17 +0000
commit8e8d3b864a218cb8bef5fcb695e6cb65bb2e6b76 (patch)
treeb248c1c1baf614ba30af4b2f6a0ea5e6271eb30a /anaconda
parent5abec6c0cd8884384d5c6eb98b2b32d2420fcdfe (diff)
downloadanaconda-8e8d3b864a218cb8bef5fcb695e6cb65bb2e6b76.tar.gz
anaconda-8e8d3b864a218cb8bef5fcb695e6cb65bb2e6b76.tar.xz
anaconda-8e8d3b864a218cb8bef5fcb695e6cb65bb2e6b76.zip
2006-07-25 Jeremy Katz <katzj@redhat.com>
* anaconda: Fix nodmraid and nompath
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda6
1 files changed, 5 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 4e36a3374..143dc8fb2 100755
--- a/anaconda
+++ b/anaconda
@@ -227,7 +227,7 @@ def parseOptions():
op.add_option("--noselinux", dest="selinux", action="store_false", default=True)
op.add_option("--selinux", action="store_true")
- op.add_option("--nompath", dest="mpath", action="store_false", default=False)
+ op.add_option("--nompath", dest="mpath", action="store_false", default=True)
op.add_option("--mpath", action="store_true")
op.add_option("--nodmraid", dest="dmraid", action="store_false", default=True)
@@ -690,6 +690,10 @@ if __name__ == "__main__":
if opts.iscsi:
flags.iscsi = 1
+ # set dmraid and mpath flags
+ flags.dmraid = opts.dmraid
+ flags.mpath = opts.mpath
+
if opts.serial:
flags.serial = 1