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?
thanks
On Wed, May 6, 2009 at 10:16 AM, Tom Brown tom@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.
Jeff Schroeder wrote:
On Wed, May 6, 2009 at 10:16 AM, Tom Brown tom@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
Tom Brown 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?
thanks _______________________________________________ cobbler-devel mailing list cobbler-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler-devel
Jeff's right -- Please don't post user questions to the devel list.
You are welcome to lurk and/or ask development questions, but this list is for (A) patches, and (B) discussing development features.
RFEs go to the master list as well.
The reason we created this list was because cobbler-list was too high traffic and patches/development-commentary got lost in it.
--Michael
cobbler-devel@lists.fedorahosted.org