Operating System: centos_5.5_final (64bit)
First install system-config-kickstart
# Yum-disablerepo = \ * -- enablerepo = The c5-media install system-config-kickstart *
Change file name CentOS-Base.repo to CentOS-Base.repo.bk
# Mv/etc/yum. Repos. d/CentOS-Base.repo/etc/yum. Repos. d/CentOS-Base.repo.bk
If you do not do one step, when you start KickStart, it will go to the official website to update the category list. After you change the name, kickstart will obtain the category list based on the Local CD image.
Add base tag
# Vi/etc/yum. Repos. d/CentOS-Media.repo Add the following content
[Base]
Name = base
Baseurl = file: // media/centos_5.5_final/# This is your CD mount point
Enable = 1
Gpgcheck = 0
If this step is not done, the following questions will appear:
OK. Now you can use the system-config-kickstart command to start Kickstart.Program.
I use ftp for installation and anonymous logon. The default directory is/var/FTP.
Use the default option here.
Note. Partitions are customized as needed.
I use DHCP for the network.
Use the default option for verification.
Define as needed
Define as needed
Select save file.