From 6abd103395a71b32862bf7897f7ef6d1a5910ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Fri, 7 Mar 2025 20:18:06 +0100 Subject: [PATCH] Increase installer swap partition size By default, cap-ram is set to limit the swap partition to 1024 MB. After removing this limit, the swap partition is then created with the same size as the RAM. We want to do this to make more swap available to live systems. --- os/layers/training-installer/includes.installer/preseed.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/os/layers/training-installer/includes.installer/preseed.cfg b/os/layers/training-installer/includes.installer/preseed.cfg index c0f2bd8..6095c9e 100644 --- a/os/layers/training-installer/includes.installer/preseed.cfg +++ b/os/layers/training-installer/includes.installer/preseed.cfg @@ -19,6 +19,7 @@ d-i passwd/user-password-crypted password @install_admin_password@ d-i partman-auto/method string regular d-i partman-auto/init_automatically_partition select some_device d-i partman-auto/choose_recipe select atomic +d-i partman-auto/cap-ram string false d-i partman/choose_partition select finish d-i apt-setup/use_mirror boolean false