client/tools/spacewalk-remote-utils/spacewalk-create-channel/spacewalk-create-channel |
2 ++
1 file changed, 2 insertions(+)
New commits:
commit a90a482e438db710334e913f49428ee24e7e87d3
Author: Simon Lukasik <slukasik(a)redhat.com>
Date: Fri Jul 8 12:07:42 2011 +0200
719555 - override channel name of ComputeNode
diff --git
a/client/tools/spacewalk-remote-utils/spacewalk-create-channel/spacewalk-create-channel
b/client/tools/spacewalk-remote-utils/spacewalk-create-channel/spacewalk-create-channel
index d9fe062..ed4c297 100755
---
a/client/tools/spacewalk-remote-utils/spacewalk-create-channel/spacewalk-create-channel
+++
b/client/tools/spacewalk-remote-utils/spacewalk-create-channel/spacewalk-create-channel
@@ -337,6 +337,8 @@ def findSrcChan(version, release, arch, extra = None):
return "redhat-ent-linux-i386-es-2.1"
if release == "ws":
return "redhat-ent-linux-i386-ws-2.1"
+ if low_release == "computenode":
+ low_release = "hpc-node"
#if we don't have a subrepo/extras we're done
if extra == None:
return "rhel-%s-%s-%s" % (arch, low_release, version)
Show replies by date