Project

General

Profile

Actions

Feature #178

closed

Automate populating the TFTP directory

Added by Paul Kelly about 14 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

The media objects describe the boot files that are required.

Provide a mechanism for populating the /tftp directory with pxelinux.0, etc


Files


Related issues 4 (0 open4 closed)

Blocked by Foreman - Feature #177: Add an Operatingsystem Family conceptClosedPaul Kelly03/11/2010Actions
Blocked by Foreman - Refactor #260: Switch family implemetation to use STIClosedPaul Kelly05/21/2010Actions
Follows Foreman - Feature #144: Media objects should also store their boot and build optionsClosedPaul Kelly12/27/2009Actions
Precedes Foreman - Feature #62: Add a Generic DHCP libraryClosedPaul Kelly03/15/201003/15/2010Actions
Actions #1

Updated by Paul Kelly about 14 years ago

  • Status changed from New to Ready For Testing

A rake task tftp:populate has been provided.
An acion link on the medias page has been provided.

code is available on the new_iscdhcp_from_edge branch on my github

Actions #2

Updated by Paul Kelly almost 14 years ago

  • Branch set to feature/178-populate-tftp

Rebased on develop.
All tests working.
Whitespace beaten into submission

Actions #3

Updated by Paul Kelly almost 14 years ago

Rebased on develop
Converted javascript to cope with many-to-many operatingsystems. Ouch!
All tests pass

Actions #4

Updated by Paul Kelly almost 14 years ago

Addressed points highlighted in last commit by Ohad. (Especially the very dumb one.)
The curb gem is no longer required, but not having it disables the feature, after saying this in the log.

Actions #5

Updated by Paul Kelly almost 14 years ago

Rebased against develop
minor fixes

Actions #6

Updated by Ohad Levy almost 14 years ago

  • Subject changed from Automate populating the DHCP directory to Automate populating the TFTP directory
  • Target version set to 0.1-6
Actions #7

Updated by Paul Kelly over 13 years ago

Rebased against version with STI families.
Minor fixes and visual improvements
Tested

Actions #8

Updated by Paul Kelly over 13 years ago

rebased
tested
Also contains the commit for #144 - media contains bootinfo

Actions #9

Updated by Paul Kelly over 13 years ago

rebased, tested and reposted

Actions #10

Updated by Paul Kelly over 13 years ago

The "download tftp boot files" link is greyed out if the media does not contain an OS that supports tftp downloads.
The "populate" functions interrogate the OS/family to see if it supports the required functionality

Actions #11

Updated by Ohad Levy over 13 years ago

Paul,

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.
Ohad

Actions #12

Updated by Jochen Schalanda over 13 years ago

Hi,

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.

Cheers,
Jochen

Actions #13

Updated by Ohad Levy over 13 years ago

  • Status changed from Feedback to Ready For Testing
  • % Done changed from 0 to 100
Actions #14

Updated by Ohad Levy over 13 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF