Kickstart: 8disk F42 kickstart

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe
2025-07-24 15:36:14 +01:00
parent 7c7a5a6bc0
commit f7d6395a20

View File

@@ -0,0 +1,106 @@
#
## This kickstart is for Dell systems with 8 disks. It will build either a virthost or cloud.
##
text
# Use network install
# metalink here should give internal mirrors in rdu3 and external ones outside
url --metalink "https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch"
repo --name=updates --metalink "https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch"
# Firewall configuration
firewall --disabled
firstboot --disable
ignoredisk --only-use=sda,sdb,sdc,sdd,sde,sdf,sdg,sdh
# Keyboard layouts
# old format: keyboard us
# new format:
keyboard --vckeymap=us --xlayouts=''
# System language
lang en_US.UTF-8
# Network information
# Reboot after installation
reboot
# Root password
rootpw --iscrypted "{{ kickstart_initial_password_encrypted }}"
# SELinux configuration
selinux --enforcing
# System services
services --disabled="firewalld,kdump" --enabled="postfix,chronyd"
# Do not configure the X Window System
skipx
# System timezone
timezone UTC --utc
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda --append="net.ifnames=0" --driveorder=sda,sdb,sdc,sdd,sde,sdf,sdg,sdh
zerombr
clearpart --drives=sda,sdb,sdc,sdd,sde,sdf,sdg,sdh --all --initlabel
# Disk partitioning information
part raid.200 --fstype="mdmember" --ondisk=sda --size=1000
part raid.210 --fstype="mdmember" --ondisk=sdb --size=1000
part raid.220 --fstype="mdmember" --ondisk=sdc --size=1000
part raid.230 --fstype="mdmember" --ondisk=sdd --size=1000
part raid.240 --fstype="mdmember" --ondisk=sde --size=1000
part raid.250 --fstype="mdmember" --ondisk=sdf --size=1000
part raid.260 --fstype="mdmember" --ondisk=sdg --size=1000
part raid.270 --fstype="mdmember" --ondisk=sdh --size=1000
part raid.300 --fstype="mdmember" --ondisk=sda --size=500
part raid.310 --fstype="mdmember" --ondisk=sdb --size=500
part raid.320 --fstype="mdmember" --ondisk=sdc --size=500
part raid.330 --fstype="mdmember" --ondisk=sdd --size=500
part raid.340 --fstype="mdmember" --ondisk=sde --size=500
part raid.350 --fstype="mdmember" --ondisk=sdf --size=500
part raid.360 --fstype="mdmember" --ondisk=sdg --size=500
part raid.370 --fstype="mdmember" --ondisk=sdh --size=500
part raid.400 --fstype="mdmember" --ondisk=sda --size=65536 --grow
part raid.410 --fstype="mdmember" --ondisk=sdb --size=65536 --grow
part raid.420 --fstype="mdmember" --ondisk=sdc --size=65536 --grow
part raid.430 --fstype="mdmember" --ondisk=sdd --size=65536 --grow
part raid.440 --fstype="mdmember" --ondisk=sde --size=65536 --grow
part raid.450 --fstype="mdmember" --ondisk=sdf --size=65536 --grow
part raid.460 --fstype="mdmember" --ondisk=sdg --size=65536 --grow
part raid.470 --fstype="mdmember" --ondisk=sdh --size=65536 --grow
raid /boot --device=0 --fstype="ext4" --level=RAID1 raid.200 raid.210 raid.220 raid.230 raid.240 raid.250 raid.260 raid.270
raid /boot/efi --device=1 --fstype="efi" --level=RAID1 --fsoptions="umask=0077,shortname=winnt" raid.300 raid.310 raid.320 raid.330 raid.340 raid.350 raid.360 raid.370
raid btrfs.1010 --device=2 --level=RAID10 --encrypted --passphrase="{{ luks_initial_password }}" --chunksize=512 raid.400 raid.410 raid.420 raid.430 raid.440 raid.450 raid.460 raid.470
btrfs none --label=fedora btrfs.1010
btrfs / --subvol --name=root LABEL=fedora
%packages
-geolite2-city
-iwl*firmware
-subscription-manager
bash-completion
bind-utils
clevis*
cronie-noanacron
crontabs
dhclient
grubby
iptables-services
nfs-utils
nmap-ncat
openssh-clients
openssh-server
patch
postfix
rsync
screen
strace
s-nail
#tmpwatch #package conflict
tmux
traceroute
vim-enhanced
zsh
%end
%post --nochroot --log=/mnt/sysimage/root/post.output --erroronfail
mkdir /mnt/sysimage/root/tmp
chroot /mnt/sysimage /usr/bin/curl https://infrastructure.fedoraproject.org/rhel/ks/post/fedora-post.sh -o /root/tmp/fedora-post.sh
chroot /mnt/sysimage sh /root/tmp/fedora-post.sh
%end