appliance: Permute partition space such as it succeeds during partitioning

Signed-off-by: Rohit Yadav <[email protected]>


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

Branch: refs/heads/internallb
Commit: 547d679b6a944ef1e04e6e8f3ccba81a54a13d4c
Parents: dc1bcd8
Author: Rohit Yadav <[email protected]>
Authored: Wed Apr 10 17:04:51 2013 +0530
Committer: Alena Prokharchyk <[email protected]>
Committed: Wed Apr 10 15:44:05 2013 -0700

----------------------------------------------------------------------
 .../definitions/systemvmtemplate/preseed.cfg       |    8 ++++----
 .../definitions/systemvmtemplate64/preseed.cfg     |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/547d679b/tools/appliance/definitions/systemvmtemplate/preseed.cfg
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/preseed.cfg 
b/tools/appliance/definitions/systemvmtemplate/preseed.cfg
index 4050498..cafb9c3 100644
--- a/tools/appliance/definitions/systemvmtemplate/preseed.cfg
+++ b/tools/appliance/definitions/systemvmtemplate/preseed.cfg
@@ -130,7 +130,7 @@ d-i partman-auto/choose_recipe select atomic
 
 d-i partman-auto/expert_recipe string                         \
       boot-root ::                                            \
-              40 50 100 ext4                                  \
+              30 50 100 ext4                                  \
                       $primary{ } $bootable{ }                \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
@@ -141,12 +141,12 @@ d-i partman-auto/expert_recipe string                     
    \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ / }                         \
               .                                               \
-              60 100 200 ext4                                 \
+              50 100 200 ext4                                 \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /home }                     \
               .                                               \
-              950 20 1100 ext4                                \
+              850 20 1100 ext4                                \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /usr }                      \
@@ -166,7 +166,7 @@ d-i partman-auto/expert_recipe string                       
  \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /tmp }                      \
               .                                               \
-              64 512 300% linux-swap                          \
+              50 512 300% linux-swap                          \
                       method{ swap } format{ }                \
               .
 

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/547d679b/tools/appliance/definitions/systemvmtemplate64/preseed.cfg
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate64/preseed.cfg 
b/tools/appliance/definitions/systemvmtemplate64/preseed.cfg
index 4050498..cafb9c3 100644
--- a/tools/appliance/definitions/systemvmtemplate64/preseed.cfg
+++ b/tools/appliance/definitions/systemvmtemplate64/preseed.cfg
@@ -130,7 +130,7 @@ d-i partman-auto/choose_recipe select atomic
 
 d-i partman-auto/expert_recipe string                         \
       boot-root ::                                            \
-              40 50 100 ext4                                  \
+              30 50 100 ext4                                  \
                       $primary{ } $bootable{ }                \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
@@ -141,12 +141,12 @@ d-i partman-auto/expert_recipe string                     
    \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ / }                         \
               .                                               \
-              60 100 200 ext4                                 \
+              50 100 200 ext4                                 \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /home }                     \
               .                                               \
-              950 20 1100 ext4                                \
+              850 20 1100 ext4                                \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /usr }                      \
@@ -166,7 +166,7 @@ d-i partman-auto/expert_recipe string                       
  \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /tmp }                      \
               .                                               \
-              64 512 300% linux-swap                          \
+              50 512 300% linux-swap                          \
                       method{ swap } format{ }                \
               .
 

Reply via email to