It's mostly about formatting.
# Install OS instead of upgrade
Install
# Keyboard Layouts
Keyboard ' US ' # Reboot after installation
Reboot
# Root Password
ROOTPW dhgate123
# System TimeZone
TimeZone Africa/abidjan
# Use Network Installation
URL--url=http://172.16.200.200/cobbler/ks_mirror/centos_7_x86_64
# System Language
Lang en_US
# Firewall Configuration
Firewall--disabled
# Network Information
Network--bootproto=dhcp--device=eth0
# System Authorization Information
Auth--useshadow--passalgo=sha512
# Use graphical Install
Firstboot--disable
# SELinux Configuration
SELinux--disabled
# System Bootloader Configuration
Bootloader--LOCATION=MBR
# Clear the Master Boot Record
Zerombr
# Partition Clearing Information
Clearpart--all--initlabel
# Disk Partitioning Information
Part/--asprimary--fstype= "Ext4"--size=10240--grow
Part/boot--fstype= "Ext4"--size=200
Part swap--size=16000
%packages
@core
%end
%post
Yum Install Wget-y
%end
This article is from the "Let Me Men Grow Together" blog, please be sure to keep this source http://wujingfeng.blog.51cto.com/5725921/1831754
Centos 7 Kickstart Script