Skip to content

Instantly share code, notes, and snippets.

@williamcroberts
Last active May 13, 2020 22:41
Show Gist options
  • Save williamcroberts/4276531e201611c3a87107fe89ae9712 to your computer and use it in GitHub Desktop.
Save williamcroberts/4276531e201611c3a87107fe89ae9712 to your computer and use it in GitHub Desktop.
Install kickstart file
logging --level=info
# Keyboard layouts
keyboard 'us'
# Root password
rootpw --plaintext password
# user is needed for fedora? --disabled isn't an option
user --name="test" --password="password"
hostname fedoratest
# System language
lang en_US
# System timezone
timezone America/Denver
# Use text install
text
# System authorization information
auth --useshadow --passalgo=sha512
# Firewall configuration
firewall --disabled
# SELinux configuration
selinux --enforcing
# Do not configure the X Window System
skipx
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all
# Disk partitioning information
autopart --type=plain --fstype=ext4
shutdown
# Comment this out, todo, revisit this to remove or verify
# these are what were produced in anaconda_ks.cfg after I selected what I wanted during a non-kickstart install
#%packages
#@^server-product-environment
#@headless-management
#%end
# this was in default anaconda_ks.cfg file after non-kickstart install, figure I'll keep it just in case
#%addon com_redhat_kdump --disable --reserve-mb='128'
#
#%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment