fix uefi/bios boot on ec2 and genclo
This commit is contained in:
parent
415f5f6901
commit
ece7929a4d
@ -17,6 +17,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 / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=3000
|
part / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=3000
|
||||||
shutdown
|
shutdown
|
||||||
|
@ -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"
|
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
|
||||||
rootpw --iscrypted thereisnopasswordanditslocked
|
rootpw --iscrypted thereisnopasswordanditslocked
|
||||||
|
|
||||||
# Partition stuff - Should work for x86 and aarch64
|
# 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 / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=8000
|
part / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=8000
|
||||||
shutdown
|
shutdown
|
||||||
|
Loading…
Reference in New Issue
Block a user