CentOS6.6 kickstart文件

# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
#cdrom
url --url http://192.168.0.81/centos6.6-image/
lang en_US.UTF-8
keyboard us
network --onboot no --device eth0 --bootproto dhcp --noipv6
network --onboot no --device eth1 --bootproto dhcp --noipv6
network --onboot no --device eth2 --bootproto dhcp --noipv6
network --onboot no --device eth3 --bootproto dhcp --noipv6
rootpw --iscrypted $6$wpezh07O0uHE179V$0UthfSfNzbb1HF/N3a7mQoD.wFDgF3MPaGOyvNcnIAxdT4U02BOkdY0j2TIz7kopPSXyTG1iFzwtvsiLRKSCw0
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone Asia/Shanghai
bootloader --location=mbr --driveorder=sda,sdb,sdc --append="crashkernel=auto rhgb quiet"
reboot

clearpart --all --initlabel
zerombr
part swap --size=100000 --ondisk=sda
part /boot --fstype=ext4 --size=100 --ondisk=sda
part / --fstype=ext4 --size=500000 --ondisk=sda

part /mnt/disk1 --fstype=ext4 --size=1000000 --ondisk=sdb
part /mnt/disk2 --fstype=ext4 --size=1000000 --ondisk=sdc


repo --name="CentOS6.6" --baseurl=http://192.168.0.81/centos6.6-repo/ --cost=100

%packages
@base
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-policy
@x11
mtools
pax
oddjob
wodim
sgpio
genisoimage
device-mapper-persistent-data
abrt-gui
samba-winbind
certmonger
pam_krb5
krb5-workstation
gnome-pilot
libXmu
%end

原文地址:https://www.cnblogs.com/littlesuccess/p/5110718.html