From 34e2ce1daff7e3dc632c7270a71d7245c526e3f9 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 11 Jan 2013 09:07:23 +0000 Subject: [PATCH] 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 --- .../share/xcat/install/ubuntu/compute.tmpl | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl index ac94520da..816e94ba0 100644 --- a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl +++ b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl @@ -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.