fix disk image layout
This commit is contained in:
parent
8efd777a4b
commit
9a378e2619
@ -8,5 +8,5 @@ selinux --enforcing
|
|||||||
firewall --enabled --ssh
|
firewall --enabled --ssh
|
||||||
network --device=link --activate --bootproto=dhcp --onboot=on --hostname=rockylinux
|
network --device=link --activate --bootproto=dhcp --onboot=on --hostname=rockylinux
|
||||||
#firstboot --enable --reconfig # TODO: enable this AFTER DISABLING USER SETUP
|
#firstboot --enable --reconfig # TODO: enable this AFTER DISABLING USER SETUP
|
||||||
bootloader --location=mbr --boot-drive=sda
|
bootloader --location=mbr --boot-drive=sda --extlinux
|
||||||
shutdown # power-off after the installation completes
|
shutdown # power-off after the installation completes
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
|
# initialize the disk
|
||||||
|
zerombr
|
||||||
|
|
||||||
# Remove all partitions
|
# Remove all partitions
|
||||||
clearpart --drives=sda --all
|
clearpart --drives=sda --all --disklabel=gpt
|
||||||
|
|
||||||
# Create partitions
|
# Create partitions
|
||||||
# The '--size' option takes MB, not MiB
|
# The '--size' option takes MB, not MiB
|
||||||
# 1074 MB = 1 GiB
|
# 1074 MB = 1 GiB
|
||||||
# 2148 MB = 2 GiB
|
# 2148 MB = 2 GiB
|
||||||
part /boot --asprimary --ondisk=sda --size=1074 --label=boot --fstype=efi
|
part /boot --asprimary --ondisk=sda --size=1074 --label=boot --fstype=efi
|
||||||
part / --asprimary --ondisk=sda --size=2148 --label=root --fstype=ext4
|
part / --asprimary --ondisk=sda --size=2148 --label=root --fstype=ext4 --grow
|
||||||
|
@ -47,7 +47,8 @@ tmux
|
|||||||
#initial-setup
|
#initial-setup
|
||||||
|
|
||||||
# Remove some packages
|
# Remove some packages
|
||||||
-java-11-*
|
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
-java-11-*
|
||||||
|
-plymouth
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user