From e98172978eee96eda1d3cd5856a49c48b6ccd979 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 29 Aug 2022 01:20:40 -0700 Subject: [PATCH] fix if statement, try reqpart again --- Rocky-9-GenericCloud.ks | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Rocky-9-GenericCloud.ks b/Rocky-9-GenericCloud.ks index 312c72d..e259d27 100644 --- a/Rocky-9-GenericCloud.ks +++ b/Rocky-9-GenericCloud.ks @@ -17,12 +17,12 @@ rootpw --iscrypted thereisnopasswordanditslocked # Partition stuff zerombr clearpart --all --initlabel --disklabel=gpt -#reqpart +reqpart # This should allow BIOS, UEFI, and PReP booting. Trying to be as universal as # possible. This is a similar setup to Fedora without the btrfs. -part prepboot --size=4 --fstype=prepboot -part biosboot --size=1 --fstype=biosboot -part /boot/efi --size=100 --fstype=efi +#part prepboot --size=4 --fstype=prepboot +#part biosboot --size=1 --fstype=biosboot +#part /boot/efi --size=100 --fstype=efi part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" shutdown @@ -88,7 +88,7 @@ passwd -d root passwd -l root # Attempting to force legacy BIOS boot if we boot from UEFI -if [ "$(arch)" = "x86_64" ]; +if [ "$(arch)" = "x86_64" ]; then grub2-install --target=i386-pc /dev/vda fi