summaryrefslogtreecommitdiffstats
path: root/pyanaconda/installclass.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2011-11-21 09:40:53 -0600
committerDavid Lehman <dlehman@redhat.com>2011-12-19 11:19:57 -0600
commit93613708eacf5346e8ded569a4c69ddc97dc1c74 (patch)
tree2d2d87e112257e768592818bef7b806360fc4d9b /pyanaconda/installclass.py
parent5e948698bd8f54f65738de1fc9b93931f6806ef2 (diff)
downloadanaconda-93613708eacf5346e8ded569a4c69ddc97dc1c74.tar.gz
anaconda-93613708eacf5346e8ded569a4c69ddc97dc1c74.tar.xz
anaconda-93613708eacf5346e8ded569a4c69ddc97dc1c74.zip
Add new field to PartSpec to indicate btrfs reqs.
Things that should be on lvm should not necessarily be on btrfs.
Diffstat (limited to 'pyanaconda/installclass.py')
-rw-r--r--pyanaconda/installclass.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py
index 0d784f291..f2774dac6 100644
--- a/pyanaconda/installclass.py
+++ b/pyanaconda/installclass.py
@@ -175,10 +175,10 @@ class BaseInstallClass(object):
def setDefaultPartitioning(self, storage, platform):
autorequests = [PartSpec(mountpoint="/", fstype=storage.defaultFSType,
size=1024, maxSize=50*1024, grow=True,
- asVol=True, encrypted=True),
+ btr=True, lv=True, encrypted=True),
PartSpec(mountpoint="/home", fstype=storage.defaultFSType,
size=500, grow=True, requiredSpace=50*1024,
- asVol=True, encrypted=True)]
+ btr=True, lv=True, encrypted=True)]
bootreq = platform.setDefaultPartitioning()
if bootreq:
@@ -186,7 +186,7 @@ class BaseInstallClass(object):
(minswap, maxswap) = iutil.swapSuggestion()
autorequests.append(PartSpec(fstype="swap", size=minswap, maxSize=maxswap,
- grow=True, asVol=True, encrypted=True))
+ grow=True, lv=True, encrypted=True))
storage.autoPartitionRequests = autorequests