Hi,

I have setup Cobbler to use DHCP and the cobbler itself resides on multiple VLANs (over a Bond).

My intention is to get the ks=http://<server>/cblr/svc.. to point at the interface if of the Cobbler server
for that VLAN.

When adding a system, --server-override=string can be used but I don't want this to be put on the
cobbler users -- or additional code for fixing that.

My understanding is that the /etc/cobbler/dhcp.template file can be updated to provide the correct
installation server. Is this correct?

My  /etc/cobbler/dhcp.template today contains network definitions, such as (masked):

subnet aa.bb.cc.dd netmask 255.255.254.0 {
     option routers             aa.bb.cc.1;
     option domain-name-servers xxx,yyy;
     option subnet-mask         255.255.254.0;
     filename                   "/pxelinux.0";
     default-lease-time         21600;
     max-lease-time             43200;
     next-server                aa.bb.cc.YY;       (the IP of the cobbler server for that VLAN)
}


EVERYTHING below:
#for dhcp_tag in $dhcp_tags.keys():
...
...
IS unmodified.


I would appreciate the simpliest and cleanest way to keep the traffic within the VLAN without user intervention.

Best Regards,

Daniel