Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kickstart file for centos6 64bits
# Kickstart file automatically generated by anaconda.
install
url --url http://192.168.200.10/centos/
lang en_US.UTF-8
keyboard us
skipx
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$mPtrz4gJ$bNrGUu91/qhiuU4LZQlYv1
firewall --enabled --port=22:tcp --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone Asia/Shanghai
bootloader --location=mbr --driveorder=cciss/c0d0
# 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=cciss/c0d0
#part /boot --fstype ext3 --size=100 --ondisk=cciss/c0d0
#part pv.100000 --size=0 --grow --ondisk=cciss/c0d0
#volgroup VolGroup00 --pesize=32768 pv.100000
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=20480
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow --maxsize=5536
#logvol /data --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=113856
%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-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
-cryptsetup-luks
-dhclient
-dhcpv6_client
-ed
-kudzu
-libhugetlbfs
-rootfiles
-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