#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