#version =RHEL7
# Reboot after installation
Reboot
# Use Network Installation
URL--url= "http://192.168.100.250/cobbler/ks_mirror/centos-7.0-x86_64/"
# Use text mode install
Text
# Firewall Configuration
Firewall--disabled
Firstboot--disable
Ignoredisk--ONLY-USE=SDA
# Keyboard Layouts
Keyboard--vckeymap=us--xlayouts= ' CN '
# System Language
Lang en_US. UTF-8
# Network Information
Network--bootproto=dhcp--device=em1--onboot=on
# Root Password
ROOTPW--plaintext Hscloud
# Do not configure the X Window System
Skipx
# System TimeZone
TimeZone Asia/shanghai--ISUTC
# System Bootloader Configuration
Bootloader--LOCATION=MBR--BOOT-DRIVE=SDA
# Clear the Master Boot Record
Zerombr
Clearpart--all
# Disk Partitioning Information
Part/boot--fstype= "XFS"--ondisk=sda--size=500
Part swap--fstype= "swap"--ONDISK=SDA--size=8000
Part/--fstype= "XFS"--ondisk=sda--size=130000
%packages
@base
@core
@virtualization-hypervisor
@virtualization-tools
%end
This article is from the "zhanguo1110" blog, make sure to keep this source http://zhanguo1110.blog.51cto.com/5750817/1627500
CentOS 7.0 KS File