diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-17 18:49:21 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-17 18:49:21 +0000 |
commit | e0e0f42e7a82ace44730ba8b69739be305d3c987 (patch) | |
tree | c341bbf2cdeb2cb6809761cfe55812c25d686cd8 /installclass.py | |
parent | b359ed47aa6ee7562ccd77ca7f4aef492ec4859b (diff) | |
download | anaconda-e0e0f42e7a82ace44730ba8b69739be305d3c987.tar.gz anaconda-e0e0f42e7a82ace44730ba8b69739be305d3c987.tar.xz anaconda-e0e0f42e7a82ace44730ba8b69739be305d3c987.zip |
add clearpart --initlabel support (43085)
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py index 3d6d26403..235b4808b 100644 --- a/installclass.py +++ b/installclass.py @@ -51,9 +51,11 @@ class BaseInstallClass: id.bootloader.useGrubVal = 0 id.bootloader.setForceLBA(forceLBA) - def setClearParts(self, id, clear, drives = None, warningText = None): + def setClearParts(self, id, clear, drives = None, warningText = None, + initAll = 0): id.partitions.autoClearPartType = clear id.partitions.autoClearPartDrives = drives + id.partitions.reinitializeDisks = initAll # XXX hack for install help text in GUI mode if clear == CLEARPART_TYPE_LINUX: self.clearType = "wkst" |