neil / rpms / anaconda

Forked from rpms/anaconda a year ago
Clone
Blob Blame History Raw
From b32f9ffaa3ad0cfccb645d0b2c61f00c2f7dae5a Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Thu, 27 Jul 2017 12:52:41 -0400
Subject: [PATCH] installclasses/rhelah: Bump default / to 15GB max

This is a backport of some of the logic from <https://pagure.io/atomic-wg/issue/281>.
We're effectively only changing non-cloud (usually physical)
installs to allocate more disk for /.  This is an incremental
step towards backporting the overlayfs-by-default logic.

Resolves: rhbz#1481768
---
 pyanaconda/installclasses/rhel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/installclasses/rhel.py b/pyanaconda/installclasses/rhel.py
index 0747379e4..6e6e786cc 100644
--- a/pyanaconda/installclasses/rhel.py
+++ b/pyanaconda/installclasses/rhel.py
@@ -83,7 +83,7 @@ class RHELAtomicInstallClass(RHELBaseInstallClass):
 
     def setDefaultPartitioning(self, storage):
         autorequests = [PartSpec(mountpoint="/", fstype=storage.defaultFSType,
-                                size=Size("1GiB"), maxSize=Size("3GiB"), grow=True, lv=True)]
+                                size=Size("3GiB"), maxSize=Size("15GiB"), grow=True, lv=True)]
 
         bootreqs = platform.setDefaultPartitioning()
         if bootreqs:
-- 
2.13.5