#platform=x86, AMD64, 或 Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang zh_CN
# Installation logging level
logging --level=info
# Use NFS installation media
nfs --server=192.168.187.140 --dir=/centos/
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
network --bootproto=dhcp --device=eth1 --onboot=on
# Reboot after installation
reboot
#Root password
rootpw stugrid
# SELinux configuration
selinux --disabled
# System timezone
timezone Asia/Shanghai
# Install OS instead of upgrade
install
# X Window System configuration information
%packages
@server-cfg
@base-x
@legacy-software-development
@gnome-desktop
@base
@x-software-development
@network-server
@kde-software-development
@development-libs
@java
@web-server
@mysql
@admin-tools
@gnome-software-development
@development-tools
@kde-desktop
@legacy-software-support
@sql-server
@java-development
@emacs
@graphical-internet
@graphics
@text-internet
@system-tools
@ftp-server
@smb-server
@editors
@ruby
@engineering-and-scientific
@dns-server作者: 小谦 时间: 2008-04-19 19:31
有人这么回复,大家帮忙看看什么意思:
You need to chroot into the new install to correctly run the script, right now you are running it within the install environment