Also, I think cobbler_web should have a left hand option for template
scripts and someone might update the official docs on what they are and
how to use them?
Thanks
Alastair
On 2014-09-16 20:23, Jörgen Maas wrote:
Hi Cobbler users,
Is anyone using the functionality as described below?
Please let us know!
Thanks
---------- Forwarded message ----------
From: LEONID FLAKS <flaks(a)bnl.gov>
Date: Tue, Sep 16, 2014 at 2:46 AM
Subject: Re: [cobbler-devel] Templated scripts
To: cobbler-devel(a)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(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel [1]
--
Grtz,
Jörgen Maas
Links:
------
[1]
https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler