diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-16 10:40:49 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-16 10:40:49 -0400 |
commit | 3e339bdfd00dc822fba3880e28e738d64bcb0fc2 (patch) | |
tree | c9908eba0c167d507c8583826df6848a77ee65e5 /cobbler/action_sync.py | |
parent | cdfa3979d40766f9192c5a940f778ed6d9c81453 (diff) | |
download | third_party-cobbler-3e339bdfd00dc822fba3880e28e738d64bcb0fc2.tar.gz third_party-cobbler-3e339bdfd00dc822fba3880e28e738d64bcb0fc2.tar.xz third_party-cobbler-3e339bdfd00dc822fba3880e28e738d64bcb0fc2.zip |
code to move the CentOS repo had the repo name mispelled for CentOS-base
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r-- | cobbler/action_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index ee707f3..b9909cb 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -455,7 +455,7 @@ class BootSync: # if there were any core repos, install the voodoo to disable the OS public core # location -- FIXME: should probably run sed on the files, rather than rename them. if len(distro.source_repos) > 0: - for x in ["fedora-core", "Centos-Base"] : + for x in ["fedora-core", "CentOS-Base"] : buf = buf + "test -e /etc/yum.repos.d/%s.repo && mv /etc/yum.repos.d/%s.repo /etc/yum.repos.d/disabled-%s\n" % (x,x,x) return buf |