Project

General

Profile

Actions

Feature #10300

closed

Implement reboot into installer

Added by Lukas Zapletal almost 9 years ago. Updated over 8 years ago.

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

Description

This work item is focused on implementing and testing actual real reboots into OS installer for the custom fact case. Workflow is:

  • user boots discovery from ISO
  • user enters network credentials (optional)
  • user enters custom fact
  • user discovers the server
  • discovery plugin configured for auto-provisioning initiates provisioning
  • the host downloads kernel/image and reboot into it

Let's design this with minimum changes possible on the Foreman and Discovery plugin (and Smart Proxy plugin). The most difficult part is to find out URLs of kernel/image. Preferred method is HTTP from media directly, but if that turns out to be problematic and it is possible to implement TFTP with less changes, let's add TFTP as an secondary option.

Interesting idea might be to kexec/reboot into PXELinux directly and continue from there the traditional way or maybe reboot into iPXE or Grub2 if PXELinux does not work. This could solve the media issue, but there might be hardware compatibility issues.

  • workflow:

Related issues 1 (0 open1 closed)

Related to Discovery - Tracker #10294: PXEless discovery featureClosedLukas Zapletal04/28/2015

Actions
Actions #1

Updated by Lukas Zapletal almost 9 years ago

Actions #2

Updated by Benjamin Papillon almost 9 years ago

Later on it could be interesting to kexec directly to iso images. This would allow to install other operating systems such as *BSD.

Currently, the only way I found to be able to boot into iso images from kexec is using grub4dos. Here is the interesting blog entry talking about it :
http://wybcz.pl/2015/03/08/fun-with-kexec/

Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/210 added
  • Pull request deleted ()
Actions #4

Updated by Anonymous over 8 years ago

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

Also available in: Atom PDF