The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.

4.1 About Kickstart Trees, Distributions, and Profiles

You can use kickstart to automate the installation of Oracle Linux systems and use Spacewalk to provide the packages during the installation.

If you want to provision bare-metal and virtual machine systems, create a distribution in Spacewalk for each combination of Oracle Linux release and system architecture that you want to be able to install by using kickstart.

You need to set up a local directory such as /var/distro-trees on your Spacewalk server that contains the entire kickstart tree for each distribution that includes the installation kernel, the initial ram-disk image, installation files, and information about the repositories. This directory must be readable and accessible by the httpd and tomcat6 services. The kickstart tree does not need to include any packages, as Spacewalk provides these.

Relative to the root of the kickstart tree, the installation kernel and initial ram-disk images should be located at ./images/pxeboot. For example, if the root of the kickstart tree for Oracle Linux 6 (x86_64) server installations is /var/distro-trees/ol6-x86_64-server, the installation kernel and initial ram-disk images would be located at /var/distro-trees/ol6-x86_64-server/images/pxeboot.

See Section 4.2, “Setting up Kickstart Trees”.

You create a kickstart distribution by associating a kickstart tree with existing channels. A client boots using the kickstart tree but installs its software packages from the existing channels. The packages installed on the client will be as up to date as those that are currently available from the channels.

See Section 4.3, “Working with Kickstart Distributions”.

Note

It is not currently possible to use the spacewalk-repo-sync --sync-kickstart command to create a kickstart distribution from the channels that are available on the Oracle Linux yum server or ULN.

Once you have created a kickstart distribution, you can use it with kickstart profiles. Typically, each profile provisions a different type of server. You can configure a profile to generate a kickstart file or you can use an existing kickstart file. You can associate as many profiles with a single distribution as you need to provision servers that share the same combination of Oracle Linux release and system architecture.

See Section 4.4, “Working with Kickstart Profiles”.