fix disk image layout
This commit is contained in:
parent
8efd777a4b
commit
9a378e2619
@ -8,5 +8,5 @@ selinux --enforcing
|
||||
firewall --enabled --ssh
|
||||
network --device=link --activate --bootproto=dhcp --onboot=on --hostname=rockylinux
|
||||
#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
|
||||
|
@ -1,9 +1,12 @@
|
||||
# initialize the disk
|
||||
zerombr
|
||||
|
||||
# Remove all partitions
|
||||
clearpart --drives=sda --all
|
||||
clearpart --drives=sda --all --disklabel=gpt
|
||||
|
||||
# Create partitions
|
||||
# The '--size' option takes MB, not MiB
|
||||
# 1074 MB = 1 GiB
|
||||
# 2148 MB = 2 GiB
|
||||
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
|
||||
|
||||
# Remove some packages
|
||||
-java-11-*
|
||||
-dracut-config-rescue
|
||||
-java-11-*
|
||||
-plymouth
|
||||
|
||||
%end
|
||||
|
Loading…
Reference in New Issue
Block a user