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"