[et-mgmt-tools] Cobbler bugfix "--repos" parameter on "profile add"

Michael DeHaan mdehaan at redhat.com
Wed Mar 28 15:14:37 UTC 2007


Thanks to Matt S. for finding this...

For those wanting to use the repo management (connecting repository 
mirrors with profiles), this change, along with the fixes to 
cobbler_syslogd are now checked in to git.

git clone git://et.redhat.com/cobbler
make
rpm -Uvh cobbler*.rpm

This particular change was fairly simple, what happened was we're saving 
the repo list as an array (ideally) but it was being stored as a 
string.  This caused bad things to happen.

--- a/cobbler/item_profile.py   Fri Mar 23 16:36:46 2007 -0400
+++ b/cobbler/item_profile.py   Wed Mar 28 11:00:31 2007 -0400
@@ -95,7 +95,7 @@ class Profile(item.Item):
                 ok = False
                 break
         if ok:
-            self.repos = repos
+            self.repos = repolist
         else:
             raise cexceptions.CobblerException("no_repos")






More information about the et-mgmt-tools mailing list