Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
CentOS 7 Kickstart File
# Action
lang en_US.UTF-8
keyboard us
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
firstboot --disable
timezone --utc America/Chicago
# Network information
network --bootproto=dhcp --onboot=on --ipv6=auto --activate
# Root password
rootpw password
# System services
#services --enabled=NetworkManager,sshd,chronyd
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --all --drives=sda
# Selinux State
selinux --permissive
%packages --nobase
# @base
yum -y install epel-release
yum -y install open-vm-tools
reboot --eject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment