From 6a919971cef56b9102dc358014006985d7eaba5b Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 28 Sep 2017 18:29:54 -0700 Subject: Add support to configuration values In order to make more flexible the execution workflow of this project, a new mechanism has been implemented to override the default configuration values. Change-Id: Ie6c5aeeb35b7f0de47379ea764ccc8dc21e4bff7 Signed-off-by: Victor Morales Issue-Id: INT-236 --- bootstrap/vagrant-onap/lib/policy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bootstrap/vagrant-onap/lib/policy') diff --git a/bootstrap/vagrant-onap/lib/policy b/bootstrap/vagrant-onap/lib/policy index ce3405614..f43087b1d 100755 --- a/bootstrap/vagrant-onap/lib/policy +++ b/bootstrap/vagrant-onap/lib/policy @@ -65,6 +65,10 @@ function init_policy { fi fi - get_policy_images - install_policy + if [[ "$skip_get_images" == "False" ]]; then + get_policy_images + if [[ "$skip_install" == "False" ]]; then + install_policy + fi + fi } -- cgit 1.2.3-korg