Hi,
I'd like to manipulate yum repo files in the %post section of my
kickstarts, specifically to disable repos that are being provided
through local mirrors.
I've knocked together some python code that does this:
http://robinbowes.com/article.php/20081026162228424
Sample usage:
initool --file /etc/yum.repos.d/epel.repo --section epel --option enabled=0
initool --file /etc/yum.repos.d/epel.repo --section epel --del priority
My question: what's the best way to make this available to a kickstart?
Is there anything cobbler can do, or do I need to do something like:
Package initool and submit it to <insert-distribution-here> so it's
included in the repositories used, and then make sure it's installed on
the system by including it in the %packages section.
-Jeroen