分类: IT业界
2010-10-22 16:39:42
With KickStart you can create and store configuration files for your server or client installations and then use these files to perform your installations and upgrades. Installations and upgrades can be done from a local CD-ROM or using NFS. If you are installing across the network, you need to have a DHCP server for each network segment.
The file that is used by KickStart to read the configuration information for the automated installation is called ks.cfg. The ks.cfg file can be located on a boot disk or on a network installation server. A sample KickStart configuration file, named sample.ks, is located in the /doc directory of the Red Hat Installation CD. This file is a plain text file that can be edited with any text editing program. You can use the sample file and make modifications as necessary for your installation. Here are some rules that you need to follow when modifying or creating your own file.
1. Items must be listed in a specific order.
2. Only required items have to be included in the file.
3. Skipping a required item causes the installation program to prompt you for the missing information. The installation continues after the missing item is specified.
4. Lines starting with a pound sign (“#”) are treated as comments and are ignored.
5. The following items are required in the order listed: