aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/mr
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2017-08-20 08:58:14 +0300
committerVictor Morales <victor.morales@intel.com>2017-08-29 10:57:51 -0500
commit1690e08400edb1f64fb647256bb196c8427e60e1 (patch)
treeda4d28c0fefa5c9d2f54d64d537b00b379205b17 /bootstrap/vagrant-onap/lib/mr
parent267b1c92a5d0013518620edca420291788d4ee3c (diff)
Add the option to clone the source code repo
Change-Id: Iba5f7e5a1c6586a1a8c158854f95904944ba62c0 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com> Co-Authored-By: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'bootstrap/vagrant-onap/lib/mr')
-rwxr-xr-xbootstrap/vagrant-onap/lib/mr4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/lib/mr b/bootstrap/vagrant-onap/lib/mr
index 76b27b1ea..5bd1d1aaf 100755
--- a/bootstrap/vagrant-onap/lib/mr
+++ b/bootstrap/vagrant-onap/lib/mr
@@ -28,7 +28,9 @@ function install_message_router {
# init_mr() - Function that initialize Message Router services
function init_mr {
- clone_mr_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_mr_repos
+ fi
get_mr_images
install_message_router
}