On Tue, Mar 1, 2011 at 1:17 AM, petermity <6t12-n6js(a)dea.spamcon.org> wrote:
Allen Wittenauer <awittenauer(a)linkedin.com> wrote:
>
>On Feb 28, 2011, at 1:12 PM, Scott Henson wrote:
>
>> On Fri, 25 Feb 2011 23:13:30 -0800, petermity <6t12-n6js(a)dea.spamcon.org>
wrote:
>>> I would like to be able to append some explanatory text to [some
>>> of] the PXE menu entries.
>>>
>>> I can see that the Cobbler-generated pxelinux.cfg/default file
>>> has a MENU LABEL line for each entry. I can see in the
>>> pxeprofile.template file that this is from variable $menu_label.
>>> But I don't see any way to modify or append to it from anything
>>> in profile dumpvars. Is there a way? If not, is this a planned
>>> enhancement?
>>
>> No and not currently but we would love something like that. Every
>> profile has a 'comment' section. I don't think it would be hard to
get
>> that exposed in the template and include it.
>
> Rather than expose comment, it should probably be a new field. Otherwise
someone might be caught by surprise... :p
I agree, it should be something new and separate like $menu_description,
for profiles, systems, and images.
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
I think you should use the comments field instead of creating another
field with the same purpose as the one that already exists. You could
make it configurable in settings if you want to have them be in your
menu so there are no surprises.