[cobbler] Fwd: [cobbler-devel] Templated scripts

Jörgen Maas jorgen.maas at gmail.com
Tue Sep 16 19:23:51 UTC 2014


Hi Cobbler users,

Is anyone using the functionality as described below?
Please let us know!

Thanks

---------- Forwarded message ----------
From: Leonid Flaks <flaks at bnl.gov>
Date: Tue, Sep 16, 2014 at 2:46 AM
Subject: Re: [cobbler-devel] Templated scripts
To: cobbler-devel at lists.fedorahosted.org


On 09/15/2014 08:06 PM, Alan Evangelista wrote:

> On 09/07/2014 06:22 PM, Alan Evangelista wrote:
>
>> I'd like to understand better the purpose of the generic templated
>> scripts available in the
>> scripts directory in Cobbler repository. The script() method in
>> cobbler/services.py seems
>> to be the responsible for creating these and, according to documentation,
>> the purpose
>> is to generate scripts based on snippets useful for post or late action
>> where it
>> is difficult to embed the script in the kickstart/autoyast/preseed file.
>> I see only two
>> of those in upstream Cobbler: preseed_early_default and
>> preseed_late_default.
>> These scripts only include snippets and are only used in sample preseed
>> available
>> in kickstarts/ directory. I dont understand why these 2 scripts could not
>> be embedded
>> directly in the sample preseed.
>>
>> Is anyone using this feature?
>>
>> Regards,
>> Alan Evangelista
>>
>>
>>
>
> Considering the lack of answers and apparent lack of interest in this
> feature, do we
> need to keep it in the future versions of Cobbler? Removing it would make
> code simpler.
>
> Regards,
> Alan Evangelista
>
>
I am very much interested in this feature. The problem is that preseed file
that is used in debian/ubunty installer (d-i) is a lot less convenient then
kickstart. In particular, early- and late- installation scripts are not
very easy to configure. I had to cook a one line command with some sort of
black magic to make it work if I used snippets. I hope those scripts made
it easier and more readable. I never got a chance to give them a try, but
it is on my to-do list. I am not sure who contributed this feature to
cobbler, but the lack of documentation or use-case example make them less
appealing. I think, they work as some sort of wrappers, which are not
necessary for anaconda-based installations.
This mail list is not very active lately, unfortunately, but lack of the
answer does not mean lack of interst

Leon


_______________________________________________
cobbler-devel mailing list
cobbler-devel at lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel



-- 
Grtz,
Jörgen Maas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140916/16d17e90/attachment.html>


More information about the cobbler mailing list