summaryrefslogtreecommitdiffstats
path: root/installclasses/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'installclasses/custom.py')
-rw-r--r--installclasses/custom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/installclasses/custom.py b/installclasses/custom.py
index 5451121b8..7377d57b4 100644
--- a/installclasses/custom.py
+++ b/installclasses/custom.py
@@ -18,8 +18,11 @@ class InstallClass(BaseInstallClass):
BaseInstallClass.setInstallData(self, id)
self.setHostname(id, "localhost.localdomain")
- autorequests = [ ("/", None, 700, None, 1, 1),
- ("/boot", None, 50, None, 0, 1) ]
+ autorequests = [ ("/", None, 700, None, 1, 1) ]
+
+ bootreq = getAutopartitionBoot()
+ if bootreq:
+ autorequests.append(bootreq)
(minswap, maxswap) = iutil.swapSuggestion()
autorequests.append((None, "swap", minswap, maxswap, 1, 1))