diff options
author | David Lehman <dlehman@redhat.com> | 2011-06-02 11:57:38 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2011-06-08 16:39:32 -0500 |
commit | 7b95389cc2c8c58bbadd952a3a65587fa647e1c7 (patch) | |
tree | 143f55c3fe6e0581d6283699d21be2751307ebd0 /pyanaconda/installclass.py | |
parent | 822d46af055664891edce1aea7bdaa56d4bb48a3 (diff) | |
download | anaconda-7b95389cc2c8c58bbadd952a3a65587fa647e1c7.tar.gz anaconda-7b95389cc2c8c58bbadd952a3a65587fa647e1c7.tar.xz anaconda-7b95389cc2c8c58bbadd952a3a65587fa647e1c7.zip |
Allow autopart without lvm.
Use LVM by default.
Diffstat (limited to 'pyanaconda/installclass.py')
-rw-r--r-- | pyanaconda/installclass.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py index 0819b6b9d..440b97c44 100644 --- a/pyanaconda/installclass.py +++ b/pyanaconda/installclass.py @@ -175,9 +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), + asVol=True, encrypted=True), PartSpec(mountpoint="/home", fstype=storage.defaultFSType, - size=100, grow=True, asVol=True, requiredSpace=50*1024)] + size=100, grow=True, requiredSpace=50*1024, + asVol=True, encrypted=True)] bootreq = platform.setDefaultPartitioning() if bootreq: @@ -185,7 +186,7 @@ class BaseInstallClass(object): (minswap, maxswap) = iutil.swapSuggestion() autorequests.append(PartSpec(fstype="swap", size=minswap, maxSize=maxswap, - grow=True, asVol=True)) + grow=True, asVol=True, encrypted=True)) storage.autoPartitionRequests = autorequests |