Some days ago i had questions about how to add only a host entry 
in dhcp via cobbler and nothing more (so, for example, to serve a
printer via dhcp). The result was this: https://github.com/cobbler/cobbler/issues/192
and the fact, it is not possible to add a dhcp entry without
a profile and so on.

I read this discussion and i think it touch my wish ...

And for me it would be a nice feature. It is a good idea to have this on a wishlist?
(Or do you know a trick to do this already? Well, i not so familiar with the cobbler
source code ...)

Detlev 

--
  Detlev  | Institut fuer Mikroelektronische Systeme
  Habicht | D-30167 Hannover +49 511 76219662 habicht@ims.uni-hannover.de
  --------+-------- Handy    +49 172 5415752  ---------------------------

Am 09.06.2012 um 16:17 schrieb James Cammarata:

Dan and Nishanth,

Did you try out the different conditional logic to see if it meets you
needs?

I'm testing it now in my environment, need to run a few more jobs, but
it seems fine here.

What I was actually thinking of doing to correct this is to not set
the next-server line if netboot-enabled=false. So basically we'd
revert Nishanth's change and then modify the dhcpd template:

       #if $iface.netboot_enabled:
       next-server $next_server;
       #end if

This is already being set in modules/manage_isc.py:

interface["netboot_enabled"] = blended_system["netboot_enabled"]

So it should be a nice easy fix. Regardless, whatever we do I'll get
this pushed out as 2.2.3-2, as I didn't think through the impact this
might have to users that manage dhcpd with cobbler.
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler