Automate populating the TFTP directory
The media objects describe the boot files that are required.
Provide a mechanism for populating the /tftp directory with pxelinux.0, etc
This implementation is only for the Red Hat family, other OS's should follow
It implements a way to query foreman and gets the required boot files (i.e. kernel and initrd) files
from a predefine media over JSON.
it also provides a syslinux pxe configuration file based on those values and potentially other settings define via foreman.
#11 Updated by Ohad Levy about 8 years ago
- File 0001-Fixes-178-Automate-populating-the-TFTP-directory.patch 0001-Fixes-178-Automate-populating-the-TFTP-directory.patch added
- Status changed from Ready For Testing to Feedback
I've taken a difference approch on this feature, as eventually, the media populating itself should not be done via foreman directly - it should be the tfp server which should request the media files.
in the scenario of one Foreman server, and many tftp servers across the internet/WAN, it does not make sense to foreman to fetch the files.
Attached is my first step solution to the problem, please review and feedback.
#12 Updated by Jochen Schalanda about 8 years ago
- File 0001-Added-support-for-Debian-based-distributions-for-aut.patch 0001-Added-support-for-Debian-based-distributions-for-aut.patch added
based on Ohad's patch I've added support for Debian-based distributions which basically consists of adding the template file for pxelinux and implementing the
Debian#boot_files_uri method in the Debian OS family class.