aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/kickstarts
diff options
context:
space:
mode:
authorYibo Cai <yibo.cai@arm.com>2018-05-28 16:07:13 +0800
committerYibo Cai <yibo.cai@arm.com>2018-05-28 16:15:03 +0800
commitd84f0f7088070642554e4564732b182efc98926d (patch)
treeac06a8783432311191a57ce494cf747d0419f449 /deploy/adapters/cobbler/kickstarts
parent729a1cc3924f0fb33e00bfebe1f7bfda05606578 (diff)
cobbler/arm64: disable swap
Update ubuntu preseed to disable swap partitions to meet K8s 1.9 requirements. Change-Id: I3a24f16ffb99013254734b9cdbbbc21f06f693a9 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
Diffstat (limited to 'deploy/adapters/cobbler/kickstarts')
-rw-r--r--deploy/adapters/cobbler/kickstarts/default16-aarch64.seed19
1 files changed, 18 insertions, 1 deletions
diff --git a/deploy/adapters/cobbler/kickstarts/default16-aarch64.seed b/deploy/adapters/cobbler/kickstarts/default16-aarch64.seed
index 13dae5c6..e3e11f36 100644
--- a/deploy/adapters/cobbler/kickstarts/default16-aarch64.seed
+++ b/deploy/adapters/cobbler/kickstarts/default16-aarch64.seed
@@ -41,7 +41,24 @@ d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
-d-i partman-auto/choose_recipe select atomic
+d-i partman-lvm/confirm boolean true
+d-i partman-lvm/confirm_nooverwrite boolean true
+
+d-i partman-auto/choose_recipe select efi-root
+d-i partman-auto/expert_recipe string \
+ efi-root :: \
+ 512 512 512 fat32 \
+ $primary{ } $lvmignore{ } \
+ method{ efi } format{ } \
+ . \
+ 4096 4096 -1 ext4 \
+ method{ format } format{ } \
+ use_filesystem{ } filesystem{ ext4 } \
+ mountpoint{ / } \
+ .
+
+d-i partman-basicfilesystems/no_swap boolean false
+
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true