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/vfc b/bootstrap/vagrant-onap/lib/vfc
index 13e3015..9c232be 100755
--- a/bootstrap/vagrant-onap/lib/vfc
+++ b/bootstrap/vagrant-onap/lib/vfc
@@ -52,9 +52,11 @@
function init_vfc {
install_package libmysqlclient-dev
- clone_all_vfc_repos
- if [[ "$compile_repo" == "False" ]]; then
- compile_all_vfc_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_vfc_repos
+ if [[ "$compile_repo" == "False" ]]; then
+ compile_all_vfc_repos
+ fi
fi
install_vfc