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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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")




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux