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>
diff --git a/bootstrap/vagrant-onap/lib/vid b/bootstrap/vagrant-onap/lib/vid
index fc622c3..55f399a 100755
--- a/bootstrap/vagrant-onap/lib/vid
+++ b/bootstrap/vagrant-onap/lib/vid
@@ -49,9 +49,11 @@
# init_vid() - Function that initialize Vid services
function init_vid {
- clone_all_vid_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_vid_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_vid_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_vid_repos
+ fi
fi
get_vid_images