Cloud: Add PReP partition for POWER cloud images

VM images on POWER require a PReP partition to be able to boot.
Since we don't have a way to define this archfully for now,
let's just always create it. Losing 4MB isn't that bad, anyway...

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>
This commit is contained in:
Neal Gompa 2021-09-01 18:13:12 -04:00 committed by ngompa
parent 92fdbf48a9
commit 8684751be4

View File

@ -38,6 +38,7 @@ services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
# Configure for gpt with bios+uefi # Configure for gpt with bios+uefi
clearpart --all --initlabel --disklabel=gpt clearpart --all --initlabel --disklabel=gpt
part prepboot --size=4 --fstype=prepboot
part biosboot --size=1 --fstype=biosboot part biosboot --size=1 --fstype=biosboot
part /boot/efi --size=100 --fstype=efi part /boot/efi --size=100 --fstype=efi
part /boot --size=500 --fstype=ext4 --label=boot part /boot --size=500 --fstype=ext4 --label=boot