From bc428675ecbdd6b626ee9f76c883eaa79928551f Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Thu, 17 Oct 2013 16:43:11 +0400 Subject: [PATCH] 05-vm-profile: added 20G base partition size Physical disks larger than say 100 gibberishbytes tend to be used with larger sets of software, data, backups etc; let's bump the base partition size to 20Gb then as proposed by dubrsl@ within #29483. --- .../initinstall.d/05-vm-profile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/installer-distro-altlinux-server/initinstall.d/05-vm-profile b/installer-distro-altlinux-server/initinstall.d/05-vm-profile index da5d390..4f1626d 100755 --- a/installer-distro-altlinux-server/initinstall.d/05-vm-profile +++ b/installer-distro-altlinux-server/initinstall.d/05-vm-profile @@ -23,13 +23,14 @@ else methods='raid plain' fi -# less than 10G, choose 1G partitions if [ "$max_disk" -le 20971520 ]; then - base=1048576 + base=1048576 # less than 10G HDD, choose 1G partitions elif [ "$max_disk" -le 52428800 ]; then - base=2097152 + base=2097152 # 2G up to 25G HDD +elif [ "$max_disk" -le 209715200 ]; then + base=10485760 # 10G up to 100G HDD else - base=10485760 + base=20971520 # 20G otherwise fi message "mem=$mem k"