# Kickstart for Rocky Linux 10 virtualization / OpenShift hosts
install
# Specify distribution location
url --url=http://dl.rockylinux.org/pub/rocky/10.2/BaseOS/x86_64/os/
repo --name=AppStream --baseurl=http://dl.rockylinux.org/pub/rocky/10.2/AppStream/x86_64/os/
repo --name=crb --baseurl=http://dl.rockylinux.org/pub/rocky/10.2/crb/x86_64/os/
# Language and keyboard
lang en_US.UTF-8
keyboard --vckeymap=us --xlayouts='us'
# Networking
network --bootproto=dhcp --activate
# Disk setup
zerombr yes
clearpart --all --initlabel --drives=sda
autopart --type=lvm
# Authentication and timezone
auth --enableshadow --passalgo=sha512
rootpw --iscrypted $y$j9T$h7NrhTBrdsvdSVB8hB2AA0$ufphx3FKXzJWECLPA2l8dkF0iAPcdq6JdyG/9Lbh6a0
user --name=sysadm --groups=wheel,adm --password=$y$j9T$h7NrhTBrdsvdSVB8hB2AA0$ufphx3FKXzJWECLPA2l8dkF0iAPcdq6JdyG/9Lbh6a0 --iscrypted
timezone --utc America/Chicago
selinux --enforcing
firewall --enabled
services --enabled=sshd
# Bootloader
bootloader --location=mbr --boot-drive=sda
reboot
firstboot --disable
# Package selection
%packages
@core
@virtualization \
cockpit \
cockpit-machines \
bash-completion \
kexec-tools \
yum-utils \
-biosdevname
%end
