The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
The %pre
section defines any actions that
kickstart must perform before installation. This section is
optional.
For example, the following %pre
section runs
the script config-partitions
that is stored
on an HTTP server and downloads a list of packages for use with
a %include /tmp/package-list
statement in the
%packages
section.
%pre %include http://192.168.1.100/scripts/config-partitions wget -q -O- http://192.168.1.100/scripts/package-list > /tmp/package-list %end
In this example, the wget command saves the package list in kickstart's file system, which exists as a ramdisk in memory.
An included script or file must be accessible at the specified path or URL.
As name service is not available before installation, you must
use IP addresses instead of domain names in the
%pre
section or in any script that it
includes.