From f7dd35e1eed210f096eac3c6688584a4421e92be Mon Sep 17 00:00:00 2001 From: Leo Simons Date: Tue, 22 Jul 2014 17:15:42 +0200 Subject: [PATCH] CLOUDSTACK-7143: a better fix for kernel upgrade disk space problems Increase / and /boot a little bit, to the point that there is enough space on them to do a kernel upgrade. With this I think we can decrease total disk space usage back down to 2.5GB. Docs for the preseed config found at http://anonscm.debian.org/gitweb/?p=d-i/debian-installer.git;a=blob_plain;f=doc/devel/partman-auto-recipe.txt;hb=HEAD --- .../definitions/systemvmtemplate/preseed.cfg | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/tools/appliance/definitions/systemvmtemplate/preseed.cfg b/tools/appliance/definitions/systemvmtemplate/preseed.cfg index 832a2966eb3..f1f4f6418ae 100644 --- a/tools/appliance/definitions/systemvmtemplate/preseed.cfg +++ b/tools/appliance/definitions/systemvmtemplate/preseed.cfg @@ -42,6 +42,47 @@ d-i clock-setup/ntp boolean true d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-auto/choose_recipe select atomic +d-i partman-auto/expert_recipe string \ + boot-root :: \ + 80 50 160 ext4 \ + $primary{ } $bootable{ } \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /boot } \ + . \ + 400 40 500 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ / } \ + . \ + 50 100 200 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /home } \ + . \ + 700 70 1100 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /usr } \ + . \ + 400 40 500 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /opt } \ + . \ + 450 70 1000 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /var } \ + . \ + 50 60 100 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /tmp } \ + . \ + 70 100 256 linux-swap \ + method{ swap } format{ } \ + . d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true