blob: 3d14c4565b3452beaea98e705fa63596c958198b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#
# fedora 34+ kickstart file to build images which
# boot in both bios and uefi mode
#
# usage:
# - run install in bios mode
# - run install with virtio-scsi disk (so /dev/sda exists)
#
# minimal config
rootpw --plaintext root
firstboot --disable
reboot
# bios/uefi boot partitioning
ignoredisk --only-use=sda
clearpart --all --initlabel --disklabel=gpt --drives=sda
part biosboot --size=1 --fstype=biosboot
part /boot/efi --size=100 --fstype=efi
part /boot --size=500 --fstype=xfs --label=boot
part / --size=999 --fstype=xfs --label=root --grow
bootloader --append="console=ttyS0"
# minimal package list
%packages
@core
grub2-pc
grub2-efi-x64
shim
-dracut-config-rescue
dracut-config-generic
efibootmgr
%end
%post
%end
|