Project

General

Profile

Actions

Feature #846

closed

Add support for solaris tftp pxeboot configuration files

Added by Paul Kelly over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
TFTP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

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

Actions #2

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.

Actions #3

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

Actions #4

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.

Actions #5

Updated by Paul Kelly over 13 years ago

rebased and added create_default support

Actions #6

Updated by Ohad Levy over 13 years ago

  • Target version set to 0.2
Actions #7

Updated by Paul Kelly over 13 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF