create partition file base on the uefi and bios boot mode

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-01-11 09:07:23 +00:00
parent 8d6aa83db2
commit 34e2ce1daf

View File

@ -38,25 +38,8 @@ d-i partman-auto/disk string /dev/sda
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
# 100M /boot
# 4G swap
# / rest
d-i partman-auto/expert_recipe string \
boot-root :: \
100 50 100 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
500 10000 1000000000 ext3 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
4096 512 300% linux-swap \
method{ swap } format{ } \
.
#create the /tmp/partitioning based on the uefi or legacy bios
d-i partman-auto/expert_recipe_file string /tmp/partitioning
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.