Hi,
On Tue, Sep 02, 2008 at 10:09:41AM -0400, Michael DeHaan wrote:
Axel Thimm wrote:
> ist it possible to pass a custom, human eyes friendly menu_label to
> pxeprofiles? Currently it just takes the profile name which is bound
> to certain restrictions. E.g. I'd like to call a profile in the PXE
> menu "Install Fedora 9 32 bits" or "Rescue system from Fedora
> 9/x86_64".
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
Not really, but I do have a suggestion... The templates in
/etc/cobbler/*.template, if --ksmeta variables were available to them
directly, could be implemented to use ksmeta["caption"] or the
equivalent if they exist. Right now Cheetah is probably /not/ called
in a way that makes this available, though pxegen.py could be modified
to do this.
I'm not sure I'd want a "--label-for-pxe-menu" attached to
"cobbler
profile add" or not.
We have talked about adding a "--comment" field though that would not be
suitable for that purpose.
Thinking rpm world, how about having --summary/--description like
switches (maybe renamed to something else), that have a human readable
one-liner/multi-comment that can be used at various places? The
"summary" could be used both in web views as well as the PXE menu for
instance.
--
Axel.Thimm at
ATrpms.net