Joseph Boyer Jr. wrote:
Is there a way in cobbler today that automates using the MAC address for eth0 as the parameter place on the kernel line for the ksdevice, i.e. ksdevice=00:2c:3e:23:4d:1e instead of the default using ksdevice=eth0 or whichever device you specify in the /etc/cobbler/settings file.
I know that passing ksdevice = {My MAC} on the kernel options line in system settings works, but I am looking for something that requires no user intervention. That is I want to use the interface’s MAC address as my default.
This is because of NIC enumeration issue on HP Blade Centers.
I could see this as possible. Two options here -- file an RFE in Trac (fedorahosted.org/cobbler), or implement support for it.
I don't think the patch would be too painful -- adding a boolean option to each interface that says --use-as-explicit-ksdevice that would only be legal /if/ the mac was enabled.
This would be a slightly involved patch -- should mostly involve item_system.py and the "blender" code that evaluates the object tree in utils.py -- but doable.
The RFE list in cobbler is very long so I can't say this is something I would knock out soon. But if someone else finds it interesting maybe they could help.
--Michael
Thanks
joe
*Joseph Boyer Jr* *Enterprise Technology Services** ** **Liquidnet Holdings, Inc.* *_Joseph.Boyer_**@liquidnet.com mailto:aengelhardtsen@liquidnet.com* *T** * +1 646.660.8352 *C ** *+1 646.284.8394
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler