Use 512MB for /boot partition and rest for / partition

This commit is contained in:
Tomasz Sterna 2011-01-25 15:44:03 -05:00
parent 0d04bcba7a
commit d1973e26e6

View File

@ -176,11 +176,11 @@ class BaseInstallClass(object):
return AnacondaBackend return AnacondaBackend
def setDefaultPartitioning(self, storage, platform): def setDefaultPartitioning(self, storage, platform):
autorequests = [PartSpec(mountpoint="/", fstype=storage.defaultFSType, autorequests = [PartSpec(mountpoint="/boot", fstype=storage.defaultFSType,
size=1024, maxSize=50*1024, grow=True, size=512, maxSize=2*1024, grow=True,
asVol=True), asVol=True),
PartSpec(mountpoint="/home", fstype=storage.defaultFSType, PartSpec(mountpoint="/", fstype=storage.defaultFSType,
size=100, grow=True, asVol=True, requiredSpace=50*1024)] size=1024, grow=True, asVol=True, requiredSpace=50*1024)]
bootreq = platform.setDefaultPartitioning() bootreq = platform.setDefaultPartitioning()
if bootreq: if bootreq: