summaryrefslogtreecommitdiffstats
path: root/installclasses/server.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-06 02:04:45 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-06 02:04:45 +0000
commit5c3315cad6444772b7fdaf60532861826169dd45 (patch)
tree9bfde377032cec77ac62bc16c110572089ad3806 /installclasses/server.py
parentdde35fa5cfcd1151a05a8d4efa0609f723cb58e1 (diff)
downloadanaconda-5c3315cad6444772b7fdaf60532861826169dd45.tar.gz
anaconda-5c3315cad6444772b7fdaf60532861826169dd45.tar.xz
anaconda-5c3315cad6444772b7fdaf60532861826169dd45.zip
some architectures don't care about /boot but want something different
instead (say /boot/efi)
Diffstat (limited to 'installclasses/server.py')
-rw-r--r--installclasses/server.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/installclasses/server.py b/installclasses/server.py
index 23b2be85f..3c3d1db0d 100644
--- a/installclasses/server.py
+++ b/installclasses/server.py
@@ -39,10 +39,13 @@ class InstallClass(BaseInstallClass):
self.setHostname(id, "localhost.localdomain")
autorequests = [ ("/", None,256, None, 1, 1),
- ("/boot", None, 50, None, 0, 1),
("/usr", None, 800, None, 0, 1),
("/var", None, 256, None, 0, 1),
("/home", None, 512, None, 1, 1) ]
+
+ bootreq = getAutopartitionBoot()
+ if bootreq:
+ autorequests.append(bootreq)
(minswap, maxswap) = iutil.swapSuggestion()
autorequests.append((None, "swap", minswap, maxswap, 1, 1))