From 53e8d4ec6505344640a78a5a098ff85b36025573 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Sun, 13 Nov 2022 16:01:10 -0500 Subject: [PATCH] fix LVM kickstarts' boot partitions --- Rocky-8-EC2-LVM.ks | 2 ++ Rocky-8-GenericCloud-LVM.ks | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Rocky-8-EC2-LVM.ks b/Rocky-8-EC2-LVM.ks index cf18833..2b2c897 100644 --- a/Rocky-8-EC2-LVM.ks +++ b/Rocky-8-EC2-LVM.ks @@ -18,6 +18,8 @@ timezone UTC --isUtc bootloader --append="console=ttyS0,115200n8 no_timer_check crashkernel=auto net.ifnames=0 nvme_core.io_timeout=4294967295 nvme_core.max_retries=10" --location=mbr --timeout=1 --boot-drive=vda zerombr clearpart --all --initlabel +part /boot --fstype xfs --size 1024 --asprimary --ondisk vda +part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda reqpart part pv.01 --size=1 --ondisk=vda --asprimary --grow volgroup rocky pv.01 diff --git a/Rocky-8-GenericCloud-LVM.ks b/Rocky-8-GenericCloud-LVM.ks index 5373938..84a0ba1 100644 --- a/Rocky-8-GenericCloud-LVM.ks +++ b/Rocky-8-GenericCloud-LVM.ks @@ -18,6 +18,8 @@ rootpw --iscrypted thereisnopasswordanditslocked # Partition stuff zerombr clearpart --all --initlabel +part /boot --fstype xfs --size 1024 --asprimary --ondisk vda +part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda reqpart part pv.01 --size=1 --ondisk=vda --asprimary --grow volgroup rocky pv.01