Skip to content

Instantly share code, notes, and snippets.

@dolph
Created June 4, 2019 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolph/e6452546c23d5ff86addf6be517f0992 to your computer and use it in GitHub Desktop.
Save dolph/e6452546c23d5ff86addf6be517f0992 to your computer and use it in GitHub Desktop.
Minimal CentOS 7.5 Kickstart
auth --enableshadow --passalgo=sha512
cdrom
graphical
firstboot --enable
ignoredisk --only-use=sda
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
network --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network --bootproto=dhcp --device=enp0s8 --onboot=off --ipv6=auto
network --hostname=qc1
rootpw --iscrypted $6$ekHonRVc1I4peSh/$nV.zATrHjGyHRJoJAIys2fYGxrniha1pQRm/SAlh0LhO3SU1l1Wp7/zcCiWYkOQc0lh/18SWXP2xUoR9xQlIx0
services --enabled="chronyd"
timezone America/New_York --isUtc --ntpservers=0.centos.pool.ntp.org,1.centos.pool.ntp.org,2.centos.pool.ntp.org,3.centos.pool.ntp.org
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
clearpart --all --initlabel --drives=sda
%packages
@^minimal
@core
chrony
kexec-tools
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment