Skip to content

Instantly share code, notes, and snippets.



Created Mar 28, 2017
What would you like to do?
# System authorization information
url --url=""
auth --enableshadow --passalgo=sha512
# Use network installation
# 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 --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
# Partition clearing information - Clear all by default
clearpart --all --drives=sda
dnf -y install git puppet
%addon com_redhat_kdump --disable --reserve-mb='128'
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
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.