dpolovinkin / rpms / anaconda

Forked from rpms/anaconda 3 years ago
Clone

Blame SOURCES/0001-installclasses-rhelah-Bump-default-to-15GB-max.patch

b45ed7
From b32f9ffaa3ad0cfccb645d0b2c61f00c2f7dae5a Mon Sep 17 00:00:00 2001
b45ed7
From: Colin Walters <walters@verbum.org>
b45ed7
Date: Thu, 27 Jul 2017 12:52:41 -0400
b45ed7
Subject: [PATCH] installclasses/rhelah: Bump default / to 15GB max
b45ed7
b45ed7
This is a backport of some of the logic from <https://pagure.io/atomic-wg/issue/281>.
b45ed7
We're effectively only changing non-cloud (usually physical)
b45ed7
installs to allocate more disk for /.  This is an incremental
b45ed7
step towards backporting the overlayfs-by-default logic.
b45ed7
b45ed7
Resolves: rhbz#1481768
b45ed7
---
b45ed7
 pyanaconda/installclasses/rhel.py | 2 +-
b45ed7
 1 file changed, 1 insertion(+), 1 deletion(-)
b45ed7
b45ed7
diff --git a/pyanaconda/installclasses/rhel.py b/pyanaconda/installclasses/rhel.py
b45ed7
index 0747379e4..6e6e786cc 100644
b45ed7
--- a/pyanaconda/installclasses/rhel.py
b45ed7
+++ b/pyanaconda/installclasses/rhel.py
b45ed7
@@ -83,7 +83,7 @@ class RHELAtomicInstallClass(RHELBaseInstallClass):
b45ed7
 
b45ed7
     def setDefaultPartitioning(self, storage):
b45ed7
         autorequests = [PartSpec(mountpoint="/", fstype=storage.defaultFSType,
b45ed7
-                                size=Size("1GiB"), maxSize=Size("3GiB"), grow=True, lv=True)]
b45ed7
+                                size=Size("3GiB"), maxSize=Size("15GiB"), grow=True, lv=True)]
b45ed7
 
b45ed7
         bootreqs = platform.setDefaultPartitioning()
b45ed7
         if bootreqs:
b45ed7
-- 
b45ed7
2.13.5
b45ed7