CentOS6.5 ks文件
# Kickstart file automatically generated by anaconda.
#version=DEVEL
reboot
install
url --url=$tree
lang en_US.UTF-8
keyboard us
rootpw --iscrypted $default_password_crypted
firewall --disable
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone --utc Asia/Shanghai
skipx
#timezone --utc America/Los_Angeles
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
zerombr
clearpart --all --initlabel --drives=sda
part /boot --fstype=ext4 --size=512 --ondisk=sda
#part swap --fstype=swap --size=16384 --ondisk=sda
part swap --label=swap --hibernation
part / --fstype=ext4 --grow --size=1 --ondisk=sda
#repo --name="CentOS" --baseurl=cdrom:sr1 --cost=100
%packages
@additional-devel
@base
@basic-desktop
@chinese-support
@client-mgmt-tools
@compat-libraries
@console-internet
@core
@debugging
@desktop-debugging
@desktop-platform
@development
@dial-up
@directory-client
@fonts
@input-methods
@large-systems
@mysql-client
@performance
@ruby-runtime
@server-platform
@server-policy
@system-admin-tools
@system-management
@system-management-messaging-client
@system-management-snmp
@workstation-policy
abrt-gui
arptables_jf
arpwatch
atlas
certmonger
chrpath
cmake
compat-gcc-34
compat-gcc-34-c++
compat-gcc-34-g77
compat-openmpi
compat-openmpi-psm
conman
crypto-utils
cyrus-imapd
dcraw
desktop-file-utils
device-mapper-persistent-data
dnsmasq
dos2unix
dtach
dump
expect
ftp
gcc-gnat
gcc-java
gcc-objc
gcc-objc++
genisoimage
glibc-utils
gnome-python2-desktop
gnutls-devel
gsl
hardlink
httpd
httpd-tools
inkscape
ipmitool
jpackage-utils
krb5-workstation
libbonobo-devel
libgcrypt-devel
libglade2-devel
libgnomeui-devel
libguestfs-java
libguestfs-tools
libstdc++-docs
libXau-devel
libXinerama-devel
libXmu
libXp
libXrandr-devel
libxslt-devel
lrzsz
lsscsi
mc
mgetty
mtools
mutt
mysql-bench
mysql-test
netpbm-progs
net-snmp
net-snmp-devel
net-snmp-perl
net-snmp-python
nmap
numpy
oddjob
OpenIPMI
openssh-askpass
pam_krb5
pax
perl-Cache-Memcached
perl-CGI
perl-CGI-Session
perl-Config-General
perl-DBD-MySQL
perl-DBD-SQLite
pexpect
popt-devel
python-dmidecode
python-memcached
python-saslwrapper
qt-mysql
radvd
rdesktop
rdist
rrdtool
rsyslog-gnutls
rsyslog-gssapi
rsyslog-mysql
rsyslog-pgsql
rsyslog-relp
ruby-irb
ruby-qpid-qmf
rwho
screen
scrub
scsi-target-utils
sg3_utils
sgpio
squashfs-tools
startup-notification-devel
syslinux
system-config-kickstart
system-config-lvm
systemtap-client
tcp_wrappers
tcp_wrappers-devel
tigervnc
tigervnc-server
tree
tsclient
unique-devel
unix2dos
uuidd
wget
apr-util-ldap
mysql-server
mysql
mysql-connector-java
slf4j
geronimo-specs-compat
geronimo-specs
apache-tomcat-apis
mx4j
perl-CGI
perl-CGI-Session
perl-Config-General
perl-DBD-MySQL
perl-DBD-SQLite
pexpect
popt-devel
python-dmidecode
python-memcached
python-saslwrapper
qt-mysql
radvd
rdesktop
rdist
rrdtool
rsyslog-gnutls
rsyslog-gssapi
rsyslog-mysql
rsyslog-pgsql
rsyslog-relp
ruby-irb
ruby-qpid-qmf
rwho
screen
scrub
scsi-target-utils
sg3_utils
sgpio
squashfs-tools
startup-notification-devel
syslinux
system-config-kickstart
system-config-lvm
systemtap-client
tcp_wrappers
tcp_wrappers-devel
tigervnc
tigervnc-server
tree
tsclient
unique-devel
unix2dos
uuidd
wget
apr-util-ldap
mysql-server
mysql
mysql-connector-java
slf4j
geronimo-specs-compat
geronimo-specs
apache-tomcat-apis
mx4j
axis
httpd-tools
httpd
xorg-x11-drv-wacom
xorg-x11-font-utils
xorg-x11-xinit
xorg-x11-fonts-Type1
xorg-x11-proto-devel
rpcbind
xorg-x11-fonts-misc
ypbind
%end