I notice when creating buildiso for systems using a static IP setup, the code 
attempts to pull in the IP info for the boot line e.g. from the buildiso code

 # add network info to avoid DHCP only if it is available

                   if data.has_key("bonding_master_eth0") and 
data["bonding_master_eth0"] != "":
                      primary_interface = data["bonding_master_eth0"]
                   else:
                      primary_interface = "eth0"

                   ......

The issue with above is that for large systems with multiple NIC's its very 
common (in our environment) for eth0 not to be the boot interface, we also have 
a vmware vpshere server build working with cobbler and here the interfaces are 
called vmnic0,1,2 ... so there is never a eth0

I know were not happy with adding extra options to cobbler but something like 
--bootinf=<interface> would help change the code above, this could be a check 
button in the webui. When set we could also add ksdevice=mac  else 
ksdevice=<nic> if a mac was not supplied (or relevant code for o/s being 
installed).

Or is there another way to get cobbler to populate the correct data, for the 
boot line ?  If I add this via the kernel_options things just get duplicated.
 
Cheers,
Simon
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to