On Tue, Jul 17, 2012 at 8:57 AM, Chris Alfonso <calfonso(a)redhat.com> wrote:
On 17/07/12 08:15 -0400, Bryan Kearney wrote:
--snip--
> This data would be in the kickstart tempaltes.. yes? I assume if we go
> with TDL, we will need a way to translate the ks file which foreman
> generates into TDL. Or, could we:
>
> 1) have an alternate TDL tempalte
> 2) ditch TDL and have image factory get the kickstart from foreman
> directly?
>
Image Factory hands the TDL off to Oz. Ditching TDL would mean Image Factory
ditches Oz, and I think the scope of work would quickly increase. I
recommend we do not ditch TDL and instead translate the ks from foreman into
a valid TDL.
https://github.com/clalancette/oz/blob/master/docs/tdl.rng
I'm missing some context, but I will note that Oz does have the
ability to take a kickstart directly, overriding the use of its
internal kickstart. The downside of doing that is that you lose
platform-agnosticism (i.e. this won't work for Windows/Ubuntu/etc),
and if it breaks you get to keep all of the pieces.
Of those two problems, the first is clearly the biggest one. TDL is
explicitly designed to be platform agnostic, to hide the installation
details between various OSs. If you ditch that and go with kickstart
directly, then you are locking yourself into RHEL/Fedora world.
I have had requests in the past to make kickstart-to-TDL and
TDL-to-kickstart tools. It doesn't exactly map, since TDL has less
features than kickstart and it is trying to hide some of those
details, but it could still be made to work. Since these tools would
be generically useful, that might be a good path to pursue.
Chris