Michael DeHaan wrote:
> Jasper Capel wrote:
>> Michael DeHaan wrote:
>>   
>>> As the existing /var/lib/cobbler/snippets/network_config already adds 
>>> "network --blah..." lines to the kickstart file, won't including them 
>>> again from the %include cause problems? It would seem one snippet needs 
>>> to know about other, or does the second network_config snippet (for the 
>>> main body of the kickstart) get replaced by the include?
>>>
>>> --Michael
>>>
>>>     
>> I patched the network_config snippet to know about the 
>> pre_install_network_config snipet. It now does one of two things:
>> * If the user provided MAC-addresses for all physical network 
>> interfaces, include the information the pre_install_network_config 
>> snippet generated
>> * If not, just use the old method
>>
>> Jasper
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://fedorahosted.org/mailman/listinfo/cobbler
>>   
> 
> Merged, thanks.
> 
> FYI -- you will also want to update "kickstarts/*.ks" in the checkout so 
> that these are used by default. I think the underlying voodoo of what 
> snippets to use where is a bit complex to get users to insert them, so 
> if it all "just works" out of the box that's probably better.
> 
It was already done for sample.ks, but I've also applied the changes to 
legacy.ks and sample_end.ks (although I'm not sure what they're used for).

Jasper
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to