Vreman, Peter - Acision wrote:
>>> Is it by design that a system edit+copy does not do any duplicate ip
>>> checks? It will at least make editing the original and new copy
>>> afterwards report and error of a duplicate ip.
>>>       
>> Yes, a copy isn't usable if the checks are enforced then, because the
>> CLI can only edit one interface at a time.  There would be no way to
>> copy it.
>>
>> What we can (and should do) in the future is to also enforce the
>> duplicate checks at sync time.
>>
>> Currently in 1.4 we also do a dhcp config check before restarting, that
>> at least prevents restarting DHCP with a known invalid config -- though
>> the sync check should be done also.
>>     
>
> I think the command line system copy shall clear the MAC and IP information 
> when the duplicate IP check is turned on. This forces you to use the system 
> edit after the system copy to make things work for the new system, but it 
> keeps the old systems untouched.
>
> For consistency the webui can also be updated or (add a button) to clear the 
> MAC and IP information when making a system copy.
>
> Regards,
> Peter
>
>   

This is doable (we'd do this at the Cobbler API level, so external apps 
also had this behavior).   Does anyone see a problem with this proposal?

--Michael

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

Reply via email to