#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
本文出自 “zhanguo1110” 博客,请务必保留此出处http://zhanguo1110.blog.51cto.com/5750817/1627500
原文地址:http://zhanguo1110.blog.51cto.com/5750817/1627500