12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

46CHAPTER 1Installing <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong>Package SectionThe installation program installs a certain list of packages by default and allows forlimited selection of additional software sets as described in the “Performing theInstallation” section. The %package section of the kickstart file allows the administrator tolist additional packages or package groups.Under the %package line, package group names are preceded by the @ symbol and a space.Individual package names are listed by themselves, one per line. If the individual packagename is preceded by a minus sign (-), the package is not installed.A list of package groups and the individual packages in each group are listed in the/repodata/comps-.xml file on the first installation CD. Replace with Server, Client, or another directory name associated with an additionalsoftware entitlement such as VT for virtualization. Replace with the rest of the filenameused such as rhel5-server-core for the Server/repodata/ directory.In the comps file, under the level, the value of the or the field can beused as the package group name in the kickstart file. The default and optional packages inthe group are under the tag.The Core and Base package groups are always installed and do not have to be listed in the%packages section. Listing 1.1 shows an example %package section.LISTING 1.1Example %package Section%packages@ DNS Name Server@ FTP ServerdhcpIn <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> 4 and lower, language support in addition to the defaultlanguage listed with the --lang directive in the command section was added with the--langsupport directive. Additional language support is now added in the %packagesection with a package group name such as Croatian Support as listed in the comps.xmlfile.If the --ignoremissing parameter is used on the %packages line, packages or packagegroups listed but not found are ignored and the installation will continue without them.If this parameter is not used, the installation program will pause and prompt whether ornot to continue, requiring user interaction before continuing or aborting.Preinstallation SectionOptionally, a script can be provided and run immediately after the kickstart file is parsedand before the installation begins. The network is available, but DNS lookup is not.The section must begin with the %pre line. The following parameters can be specifiedafter %pre on the same line:--interpreter

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!