.ISO deploys with Discovery

There are quite a few instances where OS and appliance vendors provide a
.ISO image for installation, but no pre-made or simple method for network
installation.

My thought is this. What if we supported uploading .ISO images to Foreman
and installing them via the discovery image? Obviously there's a lot to
consider - are they unattended, do they take parameters, etc etc - but if
these ISOs accept an answer file or a kickstart file or something similar,
we could easily enable unattended installs of .ISO media without having to
mess with virtual BIOS/UEFI ISO mounting
. Being able to point-and-click
deploy operating systems would be amazing.

Sample workflow:

  1. Upload .ISO to Foreman, configure "Operating System" for it.
  2. Boot HW node into Discovery, select from interface for deployment
  3. Select new "Operating System" as an image-based deployment on bare metal.
  4. Configure standard parameters (network, etc) - we'd have to figure out
    some standard ways for passing configuration, which would likely vary
    case-by-case
  5. Hit go, and watch it run.

There are a lot of logistics to work out, but I think this is a fair
starting point. Feedback?

+1 from me - image deployment for hardware makes sense IMO. It's
definitely something others have been thinking about - I'll leave Lukas
to go into more detail, but here's something you could go take a look at
:slight_smile:

https://github.com/theforeman/foreman-discovery-image/pull/44

Greg

Thanks Greg, that's what I want to work on this week :slight_smile:

More on this topic, we already have integration of Foreman Bootdisk
with VMWare. You create new VM, that gets Bootdisk attached as an ISO
file automatically and boots into Anaconda directly without PXE or
DHCP. This might be interesting for you as well, I think it does the
job better than discovery if you want to go through Anaconda.

In any way, we'd need to extend our Compute Resources with possibility
to attach ISOs, so far only Discovery can do that AFAIK. That's the
biggest limitation we have at the moment.

LZ

··· On Fri, Jan 13, 2017 at 1:31 PM, Greg Sutcliffe wrote: > +1 from me - image deployment for hardware makes sense IMO. It's definitely > something others have been thinking about - I'll leave Lukas to go into more > detail, but here's something you could go take a look at :) > > https://github.com/theforeman/foreman-discovery-image/pull/44 > > Greg > > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal