Feature #846
closedAdd support for solaris tftp pxeboot configuration files
Description
Linux downloads syslinux.cfg/XX-XX-XX-XX-XX-XX-XX pxe configuration file whilst solaris uses menu.lst.XXXXXXXXXXXXXX configuration files.
The easiest solution is to add an API version, passed as a HTML header, which allows for the writing of files, with the correct filename format, to arbitrary locations in the tftpboot directory structure.
Updated by Paul Kelly over 13 years ago
After a discussion with Ohad it was agreed that the API should be extended to support {post,get,delete} /tftp/{jumpstart,kickstart}/:mac and that the old API should be supported via an internal rewrite from tftp/:mac => tftp/kickstart/:mac. Luckily the names jumstart and kickstart are already supported in the family code in foreman as @operatingsystem.pxe_type.
Also DRYed some code
Updated by Paul Kelly over 13 years ago
Note that due to the use of :before with a regexp this implementation now requires sinatra 1.1.0. Sinatra 1.0 will no longer be sufficient.
Updated by Paul Kelly over 13 years ago
Switched names to use syslinux and pxegrub and refactored the code so as not to require sinatra 1.1.0
Updated by Paul Kelly over 13 years ago
Rebased and fixed an issue with interoperability with earlier revisions of Foreman. This now works fine with a Foreman that does not understand variants.
Updated by Paul Kelly over 13 years ago
rebased and added create_default support
Updated by Paul Kelly over 13 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset b0e03d34ad194d86d4aaf6f669e1e88a3a5cc4e4.