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.
To set up the kickstart tree for a distribution on the Spacewalk server:
- If the root for all kickstart trees (typically, - /var/distro-trees) does not already exist, create this directory and, if required, set its SELinux file type as- httpd_sys_content_tso that- httpdand- tomcat6can make the files available:- Create the root directory for the kickstart tree, for example: - # - mkdir -p /var/distro-trees/ol7u2-x86_64-server
- If SELinux is enabled in enforcing mode on your system: - Use the semanage command to define the default file type of the kickstart tree as - httpd_sys_content_t:- # - /usr/sbin/semanage fcontext -a -t httpd_sys_content_t "/var/distro-trees(/.*)?"
- Use the restorecon command to apply the file type to the entire directory hierarchy. - # - /sbin/restorecon -R -v /var/distro-treesNote- The semanage and restorecon commands are provided by the - policycoreutils-pythonand- policycoreutilspackages.
 
 
- Download the full Oracle Linux Media Pack DVD image for the Oracle Linux release and system architecture from the Oracle Software Delivery Cloud at https://edelivery.oracle.com/linux and mount it on a suitable mount point, for example: - # - mount -o loop /var/ISOs/- DVDimage.iso /var/distro-trees/ol- Nu- n-- arch-server- The following table lists some of the full Oracle Linux Media Pack DVD image files that are available for Oracle Linux releases: - Release - Architecture - DVD Image File - Oracle Linux 5 Update 11 - x86 (32-bit) - V47134-01.iso- Oracle Linux 5 Update 11 - x86_64 (64-bit) - V47133-01.iso- Oracle Linux 6 Update 7 - x86 (32-bit) - V77200-01.iso- Oracle Linux 6 Update 7 - x86_64 (64-bit) - V77197-01.iso- Oracle Linux 7 Update 2 - x86_64 (64-bit) - V100082-01.iso
- Create an entry in - /etc/fstabso that the system always mounts the DVD image after a reboot, for example:- /var/ISOs/V100082-01.iso /var/OSimage/OL7u2-x86_64-server iso9660 loop,ro 0 0 
- If you want to associate a kickstart tree with a software channel or to be able to boot iPXE clients, create a symbolic link from - /var/www/htmlto- /var/distro-trees.- # - ln -s /var/distro-trees /var/www/html/distro-trees- The installation images will then be available at a URL such as - https://, where- swksvr_FQDN/distro-trees/ol- Nu- n-- arch-server/images- swksvr_FQDNis the FQDN of the Spacewalk server or proxy.- Using a browser, you should be able to see the contents of the mounted installation image listed at the URL. If you cannot see the files: - Edit - /etc/httpd/conf/httpd.confand enable support for directory indexing and symbolic links by specifying- Options Indexes FollowSymLinksin the- <Directory "/var/www/html">section.
- Reload the - httpdservice.- # - service httpd reload
 

