diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-11-29 17:38:22 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-11-29 17:38:22 -0500 |
commit | 248b28b0181d87069364a87f4762086206781d38 (patch) | |
tree | e6754d158c64db4447e810299e019ada481504b6 /cobbler/action_import.py | |
parent | 4547a2759ce5369774676f16365492f14aad2392 (diff) | |
download | third_party-cobbler-248b28b0181d87069364a87f4762086206781d38.tar.gz third_party-cobbler-248b28b0181d87069364a87f4762086206781d38.tar.xz third_party-cobbler-248b28b0181d87069364a87f4762086206781d38.zip |
Apply Christophe's patch to enable yum priorities. Slightly tweaked to default to 99, not 200.
Diffstat (limited to 'cobbler/action_import.py')
-rw-r--r-- | cobbler/action_import.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/action_import.py b/cobbler/action_import.py index 6c398c7..d2f2d05 100644 --- a/cobbler/action_import.py +++ b/cobbler/action_import.py @@ -431,6 +431,8 @@ class Importer: config_file.write("baseurl=http://@@server@@/cobbler/ks_mirror/%s\n" % (urlseg)) config_file.write("enabled=1\n") config_file.write("gpgcheck=0\n") + # NOTE: yum priority defaults to 99 if that plugin is enabled + # so don't need to add priority=99 here config_file.close() # don't run creatrepo twice -- this can happen easily for Xen and PXE, when |