install
url --url=$tree
text
lang en_US.UTF-
keyboard us
timezone --utc Asia/Shanghai
zerombr
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
network --hostname=Cobbler-client.localdomain
authconfig --enableshadow --passalgo=sha512
rootpw
clearpart --all --initlabel
part /boot --fstype="xfs" --size=
part swap --fstype=swap --size=
part pv. --size= --grow --ondisk=sda
volgroup vg00 pv.
logvol / --vgname=vg00 --fstype="xfs" --size= --grow --name=lv_root
firstboot --disable
selinux --disabled
firewall --disabled
logging --level=info
reboot
%packages
@^minimal
@compat-libraries
@debugging
@development
tree
nmap
sysstat
lrzsz
dos2unix
telnet
net-tools
wget
vim
bash-completion
%end
%post
systemctl disable postfix.service
%end
http://landoflinux.com/linux_kickstart_partition.html