Cobbler has been able to do this for a long time:

cobbler system add --name=default --profile=p1

This makes every system that does not have an explicit IP or MAC based 
assignment PXE to profile "p1".

However, what happens if you want to do this on a subnet by subnet 
basis?   PXE lets you do this, but until now (1.1 devel branch) cobbler 
didn't have a way to represent this.  

How does it work?

cobbler system add --name=asdf --profile=p1 --ip=192.168.200.0/24

This makes any system with an IP that comes up in the 192.168.200.XXX 
block get the profile in question.

(Note that these "magic" system records should not do anything to 
DHCP/DNS management and I will be adding code to keep those entries from 
being added... later when we have "network" objects in Cobbler, we can 
use those objects to implement that feature and will be able to assign a 
default profile to a specific network)

Thanks to John Eckersberg for help with this feature.

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

Reply via email to