I'm looking at https://hosted.fedoraproject.org/spacewalk/browser/scripts/cobbler-clear

If this is for development purposes only and is not something you install, "rm -rf /var/lib/cobbler/config/distros.d" (repeated for profiles.d, systems.d, images.d, and repos.d) is ok. I'm hoping we don't have the need for a "cobbler-clear" script to be installed in a user config, as we should be respecting the user's cobbler configuration.

If you are doing this from software, the most efficient way to do it is via a Cobbler python API script.

For 10000 systems, doing the above with xargs could take /hours/ since cobbler is reanalyzing the configuration every time you invoke /usr/bin/cobbler.

--Michael





_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to