Vreman, Peter - Acision wrote:
I've systems with multiple NICs. This gives problems with the gateway and hostname that are configured per NIC.
My proposal is:
- Make the Hostname and Gateway a system wide field instead of per NIC. This information can be used to generate the /etc/sysconfig/network
Understood. The underlying issue that resulted in the present implementation is that we need to be able to use Cobbler to provision a dual homed system, when we are using cobbler's manage_dns features. We may want to provide a different hostname to each interface. For instance, assume a DMZ setup. I also know of some folks using dual homed virtual machines as well.
- Add an optional dnsname field to the NIC that can be used to provision the DNS or generate a hosts files
That's fair. If not set, we should be telling DNS management to use the hostname of the first defined NIC.
The cobbler code "from_datastruct" code would need to be smart enough to rename all of the fields in the interface from hostname->dnsname and populate the hostname field with the value from the first defined NIC. I am probably the one who best understands the underlying upgrade magic so I can give this a go.
I see Jasper already agreed below so I think we can make this happen if he'll volunteer to audit my changes to his snippets. We might as well get the networking features as right as we possibly can since we're making a lot of upgrades to them for this release.
- Add a route field to the NICs there entries can be added in the format ipaddress:netmask:gateway. This is used to generate route-ethX
Sounds reasonable to me. Do you plan on adding the route feature?
Any toughts?
Regards, Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler