[node-patches] Change in ovirt-node[master]: node-creator. Allow several repos for REPO
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Tue Apr 1 08:47:10 UTC 2014
Fabian Deutsch has uploaded a new change for review.
Change subject: node-creator. Allow several repos for REPO
......................................................................
node-creator. Allow several repos for REPO
Change-Id: Icedcf1257a8acc9f0b9a8102833fed44a6e5a533
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/node-creator
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/85/26285/1
diff --git a/recipe/node-creator b/recipe/node-creator
index 03fda44..cbce902 100755
--- a/recipe/node-creator
+++ b/recipe/node-creator
@@ -62,7 +62,12 @@
sed -i 's/^%include /#&/' "$NODE_KS.tmp"
# add build repositories
if [ -n "$REPO" ]; then
- echo "repo --name=build --baseurl=$REPO" >> "$NODE_KS"
+ N=0
+ for ONE_REPO in REPO;
+ do
+ echo "repo --name=build$N --baseurl=$ONE_REPO" >> "$NODE_KS"
+ N=$(($N + 1))
+ done
fi
if [ -n "$OVIRT_LOCAL_REPO" ]; then
echo "repo --name=local --baseurl=$OVIRT_LOCAL_REPO" >> "$NODE_KS"
--
To view, visit http://gerrit.ovirt.org/26285
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icedcf1257a8acc9f0b9a8102833fed44a6e5a533
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list