aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/policy
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/lib/policy')
-rwxr-xr-xbootstrap/vagrant-onap/lib/policy8
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap/vagrant-onap/lib/policy b/bootstrap/vagrant-onap/lib/policy
index c117c41c9..5b3e58109 100755
--- a/bootstrap/vagrant-onap/lib/policy
+++ b/bootstrap/vagrant-onap/lib/policy
@@ -58,9 +58,11 @@ function install_policy {
# init_policy() - Function that initialize Policy services
function init_policy {
- clone_all_policy_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_policy_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_policy_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_policy_repos
+ fi
fi
get_policy_images