Glenn Bailey wrote:
>> It's been suggested before.    Perhaps the menus aren't always distros
>> at top level though, we'd need to come up with something that was good
>> for everyone.
>>
>> Thoughts?   Perhaps a way to denote this in the CLI and webapp via some
>> field indicating structure?
>>     
>
> The top level was just a suggestion from my point of view ;-) Could be 
> anything
> really! Just a nice was to group different items to leave the main PXE boot 
> screen
> a bit less cluttered.
>
> --
> glenn
> terremark worldwide
>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

I'm thinking it could be done like this:

cobbler distro edit --name=foo --menu-path="alpha/beta"
cobbler profile add --name=bar --name=baz

This would add generate baz at the menu level alpha/beta/foo/bar

Because distro is intended with "alpha/beta".

Now what happens if we specify the profile to go in a certain place?

cobbler profile edit --name=bar --menu-path="webservers/special/veryspecial"

This would ignore the distro options and put the pxe menu entry under 
webservers/special/veryspecial/bar


The default would need to be "", so everything went at top level (like 
now) by default.   Folks could then choose to segment by distribution, 
arch, or category of the profile if they wanted, leaving it all open ended.

Would that work?   Improvements?

--Michael


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to