Folks,
Is there a built in 'correct' way to ensure that my second nics are not configured during build and left alone when using the network config snippets delivered with cobbler?
RIght now, when the nodes finish building, the undefined second nic tries to dhcp even though I've not given it a config.
I am getting around this by making the appropriate changes to ifcfg-eth1 via two 'sed' lines but if there is a 'better' way I'd rather do that than rely on a post config.
Also,
are people using the livecd boot method for booting HP firmware disks? How about the SSTK?
Thanks
Corey
You can do it in the bios. Yes STK would be a solution to handle that.
Sent from my iPhone
On May 26, 2010, at 11:21 PM, Corey Kovacs corey.kovacs@gmail.com wrote:
Folks,
Is there a built in 'correct' way to ensure that my second nics are not configured during build and left alone when using the network config snippets delivered with cobbler?
RIght now, when the nodes finish building, the undefined second nic tries to dhcp even though I've not given it a config.
I am getting around this by making the appropriate changes to ifcfg-eth1 via two 'sed' lines but if there is a 'better' way I'd rather do that than rely on a post config.
Also,
are people using the livecd boot method for booting HP firmware disks? How about the SSTK?
Thanks
Corey _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Quoting Christopher Johnston at 05/01/2011-07:11:09(-0500):
You can do it in the bios. Yes STK would be a solution to handle that.
Sent from my iPhone
On May 26, 2010, at 11:21 PM, Corey Kovacs corey.kovacs@gmail.com wrote:
Folks,
Is there a built in 'correct' way to ensure that my second nics are not configured during build and left alone when using the network config snippets delivered with cobbler?
We added the following to the post_install_network_config snippet so any non-defined interfaces will get ONBOOT=no in their configuration file. Right before the "rm -f /etc/sysconfig/network-scripts/ifcfg-*" line. It may not be what you are looking for (not built-in) because you have to modify an upstream provided snippet.
I just pushed the commit to github, so you can also take it from there: https://github.com/chutzimir/cobbler/compare/leave-interfaces-down
#raw cd /etc/sysconfig/network-scripts for iface in ifcfg-*; do [ -f cobbler/$iface ] && continue grep ^DEVICE $iface > cobbler/$iface grep ^HWADDR $iface >> cobbler/$iface echo "ONBOOT=no" >> cobbler/$iface echo "BOOTPROTO=none" >> cobbler/$iface done #end raw
But if you are looking for a built-in way you can maybe actually define the NIC in cobbler with a static IP of 127.1.1.1 (or similar)?
cobbler@lists.fedorahosted.org