Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
my Kickstart file
# System authorization information
auth --enableshadow --passalgo=sha512
# Use graphical install
# Use hard drive installation media
harddrive --dir=None --partition=/dev/mapper/live-base
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=gb --xlayouts='gb'
# System language
lang en_GB.UTF-8
# Network information
network --bootproto=dhcp --device=enp2s0f0 --ipv6=auto --activate
network --hostname=localhost.localdomain
#Root password
rootpw --lock
# System services
services --enabled="chronyd"
# System timezone
timezone Europe/London --isUtc
user --groups=wheel --name=twic --password=$6$REDACTED --iscrypted --gecos="Tom Anderson"
# X Window System configuration information
xconfig --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
# Partition clearing information
clearpart --none --initlabel
# Disk partitioning information
part /boot --fstype="xfs" --ondisk=sda --size=1024
part /boot/efi --fstype="macefi" --ondisk=sda --size=200 --label=Linux HFS+ ESP
part pv.249 --fstype="lvmpv" --ondisk=sda --size=242973 --encrypted
volgroup fedora --pesize=4096 pv.249
logvol /home --fstype="xfs" --grow --size=500 --name=home --vgname=fedora
logvol swap --fstype="swap" --size=8021 --name=swap --vgname=fedora
logvol / --fstype="xfs" --grow --size=1024 --name=root --vgname=fedora
%addon com_redhat_kdump --disable --reserve-mb='128'
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment