- 论坛徽章:
- 0
|
回复 4# chenyx
我的ks.cfg是这样的,怎么做呢?
install
text
cdrom
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto static --ip 192.168.1.115 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 159.226.39.1,202.96.209.133 --hostname CentOS --noipv6 onboot=yes
rootpw 123456
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc Asia/Shanghai
bootloader --location=mbr
clearpart --all --initlabel
autopart
zerombr yes
reboot --eject
%packages
@base
@core
@development
@network-tools
@system-admin-tools
setuptool
ntsysv
wget
sysstat
jwhois
bind-utils
ntp
%post
chkconfig sendmail off
chkconfig iptables off
%end
|
|