Skip to content

Instantly share code, notes, and snippets.

@mk-qi
Created April 23, 2012 06:25
Show Gist options
  • Save mk-qi/2469119 to your computer and use it in GitHub Desktop.
Save mk-qi/2469119 to your computer and use it in GitHub Desktop.
centos5-x86_64bits-Kickstart.cfg
# Kickstart file automatically generated by anaconda.
install
url --url http://10.10.1.200/centos/
keyboard us
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 zh_CN.UTF-8
network --device=eth0 --bootproto=dhcp --onboot=on
text
skipx
rootpw config
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone Asia/Shanghai
bootloader --location=mbr
reboot
# 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
clearpart --all --drives=xvda
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.6 --size=0 --grow --ondisk=xvda
volgroup VolGroup00 --pesize=32768 pv.6
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow --maxsize=6112
logvol /data --fstype ext3 --name=data --vgname=VolGroup00 --size=153792
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=30720
%packages
authconfig
basesystem
bash
bc
bzip2
centos-release
centos-release-notes
coreutils
cpio
cpp
crontabs
dmidecode
dmraid
dstat
e2fsprogs
eject
file
filesystem
ftp
gcc
glibc
glibc-common
glibc-devel
glibc-headers
gpm.x86_64
grub
hdparm
info
initscripts
iproute
iptables
iputils
kernel
kernel-xen
kernel-headers
libgcc
libgomp
libpcap
libstdc++
libtermcap
lm_sensors
lockdev.x86_64
logrotate
logwatch
lrzsz
lsof
lvm2
m2crypto
mailx
make
man
minicom.x86_64
mkinitrd
nc
nmap
nscd
nss_ldap
ntp
openldap
openldap-clients
openssh-clients
openssh-server
pam_ccreds
pam_passwdqc
pam_pkcs11
passwd
patch
patchutils
procmail
procps
psacct
readline
rpm
rsync
screen
sendmail
setup
shadow-utils
smartmontools
strace
sudo
symlinks
sysstat
SysVinit
tcpdump
telnet
termcap
traceroute
unzip
util-linux
vim-common.x86_64
vim-enhanced.x86_64
vim-minimal
vixie-cron
wget
which
#xen
#xen-libs.x86_64
#xen.x86_64
xinetd
yum
zip
zlib
# minus unused packages
-cryptsetup-luks
-dhclient
-dhcpv6_client
-ed
-kudzu
-libhugetlbfs
-pm-utils
-selinux-policy-targeted
-setools
-setserial
-sysfsutils
-system-config-network-tui
-pciutils
-pam_pkcs11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment