fix uefi/bios boot on ec2 and genclo

This commit is contained in:
Neil Hanlon 2022-11-19 12:17:25 -05:00
parent 415f5f6901
commit ece7929a4d
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,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 / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=3000
shutdown

View File

@ -14,9 +14,11 @@ network --bootproto=dhcp --device=link --activate --onboot=on
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
rootpw --iscrypted thereisnopasswordanditslocked
# Partition stuff - Should work for x86 and aarch64
# 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 / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=8000
shutdown