Feature #24
closedGenerate via templating systeme pxelinux.cfg entry
Description
Reading the unattended installation chapter,
http://theforeman.org/wiki/foreman/Unattended_installations#How-does-Foreman-manages-TFTP
It would be possible to generate predefined syslinux(pxelinux) boot file, based on
information in operatingsystem, and adding the following key/value
kernel
initrd
append
Updated by Ohad Levy over 15 years ago
I've been playing around with the ideas about how would it be best to automate the tftp infrastructure, for sure, what you are requesting is vital if you want to be able to specify kernel parameters per host (for the pxe boot phase).
One option that I'm looking into is using gpxelinux instead of pxelinux, gpxelinux supports HTTP, so that would mean I could fetch the syslinux configuration on the fly via HTTP instead of creating them.
another benefit is that you use the HTTP protocol, is reliability and performance which is much more suitable for large installations / high latency setups.
you can see some examples here: http://theforeman.org/blogs/show/1.
would appreciate any feedback
Ohad
Updated by p li over 15 years ago
ohadlevy wrote:
I've been playing around with the ideas about how would it be best to automate the tftp infrastructure, for sure, what you are requesting is vital if you want to be able to specify kernel parameters per host (for the pxe boot phase).
One option that I'm looking into is using gpxelinux instead of pxelinux, gpxelinux supports HTTP, so that would mean I could fetch the syslinux configuration on the fly via HTTP instead of creating them.
another benefit is that you use the HTTP protocol, is reliability and performance which is much more suitable for large installations / high latency setups.
you can see some examples here: http://theforeman.org/blogs/show/1.
would appreciate any feedback
Ohad
Yes, you are right, gpxe is very interesting, and avoid the use of the poor TFTP protocol.
Gpxe support script, menu, and is over HTTP.
You can generate gpxe entry, the same as preseed or kickstart template
The link is not accessible, you mean http://theforeman.org/blogs/index/3 ?
Updated by Ohad Levy over 15 years ago
pli wrote:
Yes, you are right, gpxe is very interesting, and avoid the use of the poor TFTP protocol.
Gpxe support script, menu, and is over HTTP.
You can generate gpxe entry, the same as preseed or kickstart template
I've already done that on a test branch, however I've found out that the fallback to boot from local disk (or next bios device) is not working as reliably as pxelinux
(see http://syslinux.zytor.com/archives/2009-September/013235.html for full description)
The link is not accessible, you mean http://theforeman.org/blogs/index/3 ?
yeah, I guess you needed more permissions for the other link (which is for editing the blog entry..)
Updated by Ohad Levy about 15 years ago
- Category set to TFTP
- Assignee set to Ohad Levy
Updated by Ohad Levy about 14 years ago
- Target version changed from 0.3 to 0.1-6
Updated by Ohad Levy about 14 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 0f77c7f285a0bb37e267e9206b699d7c245782f9.
Updated by Ohad Levy about 14 years ago
- Status changed from Ready For Testing to Closed