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 <[email protected]> --- M recipe/node-creator 1 file changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/71/26571/1 diff --git a/recipe/node-creator b/recipe/node-creator index 4e78480..e148e33 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/26571 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icedcf1257a8acc9f0b9a8102833fed44a6e5a533 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: node-3.0 Gerrit-Owner: Fabian Deutsch <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
