#platform=x86, AMD64, or Intel EM64T#version=DEVEL# Install OS instead of upgradeinstall# Keyboard layouts
keyboard 'us'# System timezone
timezone Asia/Shanghai
# System language
lang en_US
# Root password
rootpw --iscrypted $1$root$j0bp.KLPyr.u9kgQ428D10
# System authorization information
auth --useshadow --passalgo=sha512
# Use CDROM installation media
url --url=$tree# Use text mode install
text
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype xfs --size 200 --ondisk sda
part / --fstype xfs --size 1 --grow --ondisk sda
#Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# SELinux configuration
selinux --disabled
#Firewall configuration
firewall --disabled
# Do not configure the X Window System
skipx
# Reboot after installationreboot
%packages
@^minimal
@core
net-tools
wget
ntpdate
telnet
lrzsz
tree
%end
%post
systemctl disable postfix
%end