The repositoryid is not allowed to have spaces.
Chris Alfonso
calfonso at redhat.com
Tue Dec 20 18:11:04 UTC 2011
On 19/12/11 15:55 -0500, Chris Alfonso wrote:
>From the yum.conf man page:
>repositoryid Must be a unique name for each repository, one word.
>
>Following the pattern for the file name, replacing spaces with underscores.
>---
> oz/RedHat.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>diff --git a/oz/RedHat.py b/oz/RedHat.py
>index 42c3d52..07ffc3b 100644
>--- a/oz/RedHat.py
>+++ b/oz/RedHat.py
>@@ -1042,7 +1042,7 @@ class RedHatCDYumGuest(RedHatCDGuest):
> filename = repo.name.replace(" ", "_") + ".repo"
> localname = os.path.join(self.icicle_tmp, filename)
> f = open(localname, 'w')
>- f.write("[%s]\n" % repo.name)
>+ f.write("[%s]\n" % repo.name.replace(" ", "_"))
> f.write("name=%s\n" % repo.name)
> if host and not guest:
> remote_tun_port = tunport
>--
>1.7.6.4
>
This has been pulled into clalancette's master branch, and I've rebased/pushd the aeolusproject/oz master branch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/aeolus-devel/attachments/20111220/26bf3bb6/attachment.sig>
More information about the aeolus-devel
mailing list