66 lines
No EOL
1.3 KiB
Text
66 lines
No EOL
1.3 KiB
Text
#version=RHEL9
|
|
# Documentation : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/performing_an_advanced_rhel_9_installation/kickstart-commands-and-options-reference_installing-rhel-as-an-experienced-user
|
|
|
|
# Use CDROM installation media
|
|
cdrom
|
|
|
|
# Installation in text mode
|
|
text
|
|
|
|
# Accept the EULA
|
|
eula --agreed
|
|
|
|
# Keyboard layouts
|
|
keyboard --vckeymap=us --xlayouts='us'
|
|
|
|
# System language
|
|
lang en_US.UTF-8
|
|
|
|
# Network information
|
|
network --bootproto=dhcp --noipv6 --activate
|
|
network --hostname=localhost.localdomain
|
|
|
|
# add epel repo with mirrors
|
|
repo --name="epel9-everything" --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=epel-9&arch=x86_64"
|
|
|
|
# Initial Setup is not started the first time the system boots
|
|
firstboot --disabled
|
|
|
|
# If present, X is not configured on the installed system
|
|
skipx
|
|
|
|
# Partition clearing information
|
|
clearpart --all --initlabel
|
|
|
|
# Disk partitioning information
|
|
autopart --type=lvm
|
|
|
|
# System timezone
|
|
timezone Europe/Paris --utc
|
|
|
|
# Root password
|
|
rootpw --plaintext --allow-ssh Packer
|
|
|
|
# Firewall configuration
|
|
firewall --enabled
|
|
|
|
# State of SELinux
|
|
selinux --disabled
|
|
|
|
# Boot loader
|
|
bootloader --timeout=1
|
|
|
|
# Reboot after the installation is successfully completed
|
|
reboot --eject
|
|
|
|
# Install packages
|
|
%packages
|
|
@^minimal-environment
|
|
xe-guest-utilities-latest
|
|
curl
|
|
vim
|
|
unzip
|
|
wget
|
|
git
|
|
|
|
%end |