Skip to content

Instantly share code, notes, and snippets.

@blackknight36

blackknight36/ks.cfg

Created Mar 28, 2017
Embed
What would you like to do?
# System authorization information
install
url --url="http://packages.example.com/pub/fedora/25/Everything/x86_64/os"
auth --enableshadow --passalgo=sha512
# Use network installation
skipx
# Run the Setup Agent on first boot
firstboot --disable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# SELinux configuration
selinux --enforcing
# Network information
network --bootproto=dhcp --noipv6 --hostname=ks-temp.example.com --device=link
# Root password
rootpw --iscrypted $6$xxxxxxxxxx$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# System timezone
timezone America/New_York --isUtc
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
autopart --type=lvm
# Clear the MBR
zerombr
# Partition clearing information - Clear all by default
clearpart --all --drives=sda
%packages
@container-management
@core
@domain-client
@editors
@headless-management
@server-hardware-support
@server-product
@standard
%end
%post
dnf -y install git puppet
%end
%addon com_redhat_kdump --disable --reserve-mb='128'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=50 --notstrict --nochanges --emptyok
pwpolicy user --minlen=6 --minquality=50 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=50 --notstrict --nochanges --emptyok
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.