Project

General

Profile

Feature #846

Add support for solaris tftp pxeboot configuration files

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
TFTP
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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.

Associated revisions

Revision b0e03d34 (diff)
Added by Paul Kelly over 9 years ago

Fixes #846 - supports Solaris TFTP pxe configuration files

Signed-off-by: Paul Kelly <>

History

#1 Updated by Paul Kelly over 9 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

#2 Updated by Paul Kelly over 9 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.

#3 Updated by Paul Kelly over 9 years ago

Switched names to use syslinux and pxegrub and refactored the code so as not to require sinatra 1.1.0

#4 Updated by Paul Kelly over 9 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.

#5 Updated by Paul Kelly over 9 years ago

rebased and added create_default support

#6 Updated by Ohad Levy over 9 years ago

  • Target version set to 0.2

#7 Updated by Paul Kelly over 9 years ago

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

Also available in: Atom PDF