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.