11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

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

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

Chapter 28. Kickstart <strong>Installation</strong>s<br />

-autofs<br />

The following options are available for the %packages option:<br />

--nobase<br />

Do not install the @Base group. Use this option if you are trying to create a very small<br />

system.<br />

--resolvedeps<br />

The --resolvedeps option has been deprecated. Dependencies are resolved automatically<br />

every time now.<br />

--ignoredeps<br />

The --ignoredeps option has been deprecated. Dependencies are resolved automatically<br />

every time now.<br />

--ignoremissing<br />

Ignore the missing packages and groups instead of halting the installation to ask if the<br />

installation should be aborted or continued. For example:<br />

%packages --ignoremissing<br />

6. Pre-installation Script<br />

You can add <strong>com</strong>mands to run on the system immediately after the ks.cfg has been parsed.<br />

This section must be at the end of the kickstart file (after the <strong>com</strong>mands) and must start with the<br />

%pre <strong>com</strong>mand. You can access the network in the %pre section; however, name service has<br />

not been configured at this point, so only IP addresses work.<br />

Note<br />

Note that the pre-install script is not run in the change root environment.<br />

--interpreter /usr/bin/python<br />

Allows you to specify a different scripting language, such as Python. Replace<br />

/usr/bin/python with the scripting language of your choice.<br />

6.1. Example<br />

Here is an example %pre section:<br />

302

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

Saved successfully!

Ooh no, something went wrong!