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


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/91ffedb3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/91ffedb3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/91ffedb3

Branch: refs/heads/master
Commit: 91ffedb39cbeb1ab1cea96ad085153bf65947129
Parents: d5a4a25
Author: Leo Simons <lsim...@schubergphilis.com>
Authored: Tue Jul 22 17:15:42 2014 +0200
Committer: Rohit Yadav <rohit.ya...@shapeblue.com>
Committed: Mon Sep 22 21:38:15 2014 +0200

----------------------------------------------------------------------
 tools/appliance/definitions/systemvmtemplate/definition.rb | 2 +-
 tools/appliance/definitions/systemvmtemplate/preseed.cfg   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/91ffedb3/tools/appliance/definitions/systemvmtemplate/definition.rb
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/definition.rb 
b/tools/appliance/definitions/systemvmtemplate/definition.rb
index 351a40d..5965406 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 => [

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/91ffedb3/tools/appliance/definitions/systemvmtemplate/preseed.cfg
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/preseed.cfg 
b/tools/appliance/definitions/systemvmtemplate/preseed.cfg
index 438488b..0d2f70b 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{ / }                         \

Reply via email to