[et-mgmt-tools] Cobbler bugfix "--repos" parameter on "profile add"
Matt S [UNIX Administrator]
matts at hostingsupport.com
Wed Mar 28 19:00:29 UTC 2007
My git clone attempt fails.
git clone git://et.redhat.com/cobbler
Initialized empty Git repository in /root/cobbler/.git/
fatal: unable to connect a socket (Connection timed out)
On Wed, 2007-03-28 at 11:14 -0400, Michael DeHaan wrote:
> 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")
>
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
More information about the et-mgmt-tools
mailing list