Feature #10300

Implement reboot into installer

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

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


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

Related to Discovery - Tracker #10294: PXEless discovery featureClosed2015-04-28

Associated revisions

Revision b713c12a (diff)
Added by Lukas Zapletal over 7 years ago

Fixes #10300 - adding new image power API support


#1 Updated by Lukas Zapletal almost 8 years ago

#2 Updated by Benjamin Papillon almost 8 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 :

#3 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request added
  • Pull request deleted ()

#4 Updated by Anonymous over 7 years ago

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

Also available in: Atom PDF