fix LVM kickstarts' boot partitions

This commit is contained in:
Neil Hanlon 2022-11-13 16:01:10 -05:00
parent 75a4d2a4ac
commit 53e8d4ec65
Signed by untrusted user: neil
GPG key ID: 705BC21EC3C70F34
2 changed files with 4 additions and 0 deletions

View file

@ -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 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 zerombr
clearpart --all --initlabel clearpart --all --initlabel
part /boot --fstype xfs --size 1024 --asprimary --ondisk vda
part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda
reqpart reqpart
part pv.01 --size=1 --ondisk=vda --asprimary --grow part pv.01 --size=1 --ondisk=vda --asprimary --grow
volgroup rocky pv.01 volgroup rocky pv.01

View file

@ -18,6 +18,8 @@ rootpw --iscrypted thereisnopasswordanditslocked
# Partition stuff # Partition stuff
zerombr zerombr
clearpart --all --initlabel clearpart --all --initlabel
part /boot --fstype xfs --size 1024 --asprimary --ondisk vda
part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda
reqpart reqpart
part pv.01 --size=1 --ondisk=vda --asprimary --grow part pv.01 --size=1 --ondisk=vda --asprimary --grow
volgroup rocky pv.01 volgroup rocky pv.01