summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2009-03-24 14:14:56 +0100
committerMartin Sivak <msivak@redhat.com>2009-03-24 14:14:56 +0100
commit16632332b3a49994edf0016a3c5c3200d32cf6ac (patch)
tree5232a6535fd9855cefcf6197d954b9aab087f94d /anaconda
parentccfc747cd08705c0e445cb6a1df7ce1db43c53a2 (diff)
downloadanaconda-16632332b3a49994edf0016a3c5c3200d32cf6ac.tar.gz
anaconda-16632332b3a49994edf0016a3c5c3200d32cf6ac.tar.xz
anaconda-16632332b3a49994edf0016a3c5c3200d32cf6ac.zip
Port the dlabel feature from RHEL (#489314)
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda4
1 files changed, 4 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 3bbf0fec6..28893e29e 100755
--- a/anaconda
+++ b/anaconda
@@ -251,6 +251,7 @@ def parseOptions():
op.add_option("--nomount", dest="rescue_nomount", action="store_true", default=False)
op.add_option("--updates", dest="updateSrc", action="store", type="string")
op.add_option("--dogtail", dest="dogtail", action="store", type="string")
+ op.add_option("--dlabel", action="store_true", default=False)
return op.parse_args()
@@ -673,6 +674,9 @@ if __name__ == "__main__":
# Default is to prompt to mount the installed system.
anaconda.rescue_mount = not opts.rescue_nomount
+ if opts.dlabel: #autodetected driverdisc in use
+ flags.dlabel = True
+
if opts.noipv4:
flags.useIPv4 = False