kickstart配置文件范本-ks.cfg

Shell Liemer_Lius 1025℃ 0评论
# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
url --url ftp://192.168.75.77/pub
lang zh_CN.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto=dhcp
rootpw  --iscrypted $6$BW20j5cP4TyhmGw6$OvrIwWNeWocCFjmgjJQwHuTxjfoOHutnyLpisk0Ex.317AmOKWcSfm6cSk0IuqMf0wOd4TPst.BhVEZkEMeJC0
text
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --permissive
timezone --utc Asia/Shanghai
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 --initlabel --all
#ignoredisk --only-use=sda
part /boot --fstype=ext4 --size=200
part swap --size=2048
part / --fstype=ext4 --grow --size=200
repo --name="CentOS"  --baseurl=ftp://192.168.75.77/pub/ --cost=100
reboot

%packages
@additional-devel
@chinese-support
@core
@development
@server-policy
@workstation-policy
libgcrypt-devel
libXinerama-devel
xorg-x11-proto-devel
startup-notification-devel
libgnomeui-devel
libbonobo-devel
libXau-devel
libXrandr-devel
popt-devel
libxslt-devel
libglade2-devel
gnutls-devel
jpackage-utils

%end

 

转载请注明:liutianfeng.com » kickstart配置文件范本-ks.cfg

喜欢 (1)

发表回复