Skip to main content

anaconda

Kickstart

yum install pykickstart
# 校验
ksvalidator ks.conf
lang en_US
keyboard us
timezone Asia/Shanghai --isUtc
# root:root
rootpw $1$k5y95rV/$IXnt41W62IefrGconPHUP/ --iscrypted
#platform x86, AMD64, or Intel EM64T
text
cdrom
bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
zerombr
clearpart --all --initlabel
autopart
auth --passalgo=sha512 --useshadow
selinux --disabled
firewall --enabled --ssh
skipx
firstboot --disable
%packages
@^minimal-environment
kexec-tools
%end