Implement reboot into installer
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.
#2 Updated by Benjamin Papillon almost 4 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 :
#4 Updated by Anonymous over 3 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|b713c12a2546173ed5de95e47303ab99e5b2f19c.