From 91ffedb39cbeb1ab1cea96ad085153bf65947129 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 --- tools/appliance/definitions/systemvmtemplate/definition.rb | 2 +- tools/appliance/definitions/systemvmtemplate/preseed.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/appliance/definitions/systemvmtemplate/definition.rb b/tools/appliance/definitions/systemvmtemplate/definition.rb index 351a40d3449..59654065617 100644 --- a/tools/appliance/definitions/systemvmtemplate/definition.rb +++ b/tools/appliance/definitions/systemvmtemplate/definition.rb @@ -42,7 +42,7 @@ architectures = { config = { :cpu_count => '1', :memory_size => '256', - :disk_size => '3500', :disk_format => 'VDI', :hostiocache => 'off', + :disk_size => '2500', :disk_format => 'VDI', :hostiocache => 'off', :iso_download_timeout => '1200', :boot_wait => '10', :boot_cmd_sequence => [ diff --git a/tools/appliance/definitions/systemvmtemplate/preseed.cfg b/tools/appliance/definitions/systemvmtemplate/preseed.cfg index 438488bb178..0d2f70b3d0b 100644 --- a/tools/appliance/definitions/systemvmtemplate/preseed.cfg +++ b/tools/appliance/definitions/systemvmtemplate/preseed.cfg @@ -50,7 +50,7 @@ d-i partman-auto/expert_recipe string \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /boot } \ . \ - 250 40 400 ext4 \ + 400 40 500 ext4 \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } \