There was a longstanding Trac item that asked for "cobbler distro 
remove" to be able to remove data out of ks_mirror.  This makes sense, 
so I finally added that today.

There are a few limitations that the code will enforce.

If multiple distros reference the same /var/www/cobbler/ks_mirror path, 
cobbler will not remove the object until the last one is gone.  For 
instance if you have a "foo-i386" and a "foo-i386-xen" the equivalent 
code to delete /var/www/cobbler/ks_mirror will not be called until the 
last one is gone.

This behavior seems reasonable to me and will not attempt to unlink 
content that was imported with "--available-as" as that doesn't live in 
/var/www/cobbler/ks_mirror.

Another step is to make "cobbler repo remove" also remove repo storage.  
(To be done next).

If any of this seems wrong, yell.

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

Reply via email to