Jeff Schroeder wrote:
On Wed, May 6, 2009 at 10:16 AM, Tom Brown <tom(a)ng23.net>
wrote:
> Is it possible to have cobbler not blat pxelinux.cfg but merely add to
> it or delete from it?
>
> We have a situation where the same build box is needed to PXE different
> systems, jumpstart etc, but i dont want to not be able to use cobbler.
> Anything that gets added into there not by cobbler gets removed when a
> sync is run.
>
> Any ideas on if this could work?
>
The pxelinux.cfg is generated from a template. I believe it is
/etc/cobbler/pxe/pxedefault.template. You should be able to add what
you want to the template and have it generate the file. You could also
use host specific pxe config files for the solaris boxes or whatnot.
moved to user list at Michael's request
I see that pxedefault.cfg contains
DEFAULT menu
PROMPT 0
MENU TITLE Cobbler |
http://cobbler.et.redhat.com
TIMEOUT 200
TOTALTIMEOUT 6000
ONTIMEOUT local
LABEL local
MENU LABEL (local)
MENU DEFAULT
LOCALBOOT 0
$pxe_menu_items
MENU end
That is the pxe menu configuration isn't it ? Its possible i am getting
confused but what i need to happen is that files within
/tftpboot/pxelinux.cfg/ are not removed if cobbler does not know about
them. If thats possible by using that template could you give any tips
as what to put in there?
thanks