summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-07-07 23:12:45 +0000
committerJeremy Katz <katzj@redhat.com>2004-07-07 23:12:45 +0000
commit14e1eb34e960310aa5943b8e731acd2c839ea425 (patch)
treec1362c50c11f0973da5868eee4a4e0f2e486fec5 /installclass.py
parent5701f53920be5e1f0b7f243f9b96a8c3d5efe395 (diff)
downloadanaconda-14e1eb34e960310aa5943b8e731acd2c839ea425.tar.gz
anaconda-14e1eb34e960310aa5943b8e731acd2c839ea425.tar.xz
anaconda-14e1eb34e960310aa5943b8e731acd2c839ea425.zip
switch autopartitioning to use lvm by default. setup is basically
* Create /boot partition (or appropriate for the arch) * For each drive being used in auto-partitioning, create a PV * Use these pvs in a vg * Create auto-partition requests as logical volumes in the vg
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/installclass.py b/installclass.py
index 46abbf707..dbcd019b3 100644
--- a/installclass.py
+++ b/installclass.py
@@ -20,7 +20,7 @@ import language
from instdata import InstallData
from partitioning import *
-from autopart import getAutopartitionBoot, autoCreatePartitionRequests
+from autopart import getAutopartitionBoot, autoCreatePartitionRequests, autoCreateLVMPartitionRequests
from rhpl.log import log
from rhpl.translate import _, N_
@@ -512,19 +512,19 @@ class BaseInstallClass:
def setDefaultPartitioning(self, partitions, clear = CLEARPART_TYPE_LINUX,
doClear = 1):
- autorequests = [ ("/", None, 1024, None, 1, 1) ]
+ autorequests = [ ("/", None, 1024, None, 1, 1, 1) ]
bootreq = getAutopartitionBoot()
if bootreq:
autorequests.extend(bootreq)
(minswap, maxswap) = iutil.swapSuggestion()
- autorequests.append((None, "swap", minswap, maxswap, 1, 1))
+ autorequests.append((None, "swap", minswap, maxswap, 1, 1, 1))
if doClear:
partitions.autoClearPartType = clear
partitions.autoClearPartDrives = []
- partitions.autoPartitionRequests = autoCreatePartitionRequests(autorequests)
+ partitions.autoPartitionRequests = autoCreateLVMPartitionRequests(autorequests)
def setInstallData(self, id, intf = None):