DigitalOcean
OS : CentOS 6.5 X86_64
# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot no --device eth0 --bootproto dhcp --noipv6
rootpw --iscrypted $6$NxHrE4S3UsnDaigw$0yDBEVqkI9r.SZvrnvN3GDD2rag6iKPIAF1/nmJkwTlDXpmOZd6IxiXqmlvD6HJLEh1mqsApAoNEZp0aJa5gf/
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc America/New_York
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
#clearpart --all --drives=sda
#part / --fstype=ext4 --grow --size=200
repo --name="CentOS" --baseurl=cdrom:sr0 --cost=100
%packages --nobase
@core
%end
# ls -l
ÇÕ°è 20
-rw------- 1 root root 855 2013-12-17 15:24 anaconda-ks.cfg
-rw-r--r-- 1 root root 8815 2013-12-17 15:24 install.log
-rw-r--r-- 1 root root 3384 2013-12-17 15:23 install.log.syslog