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/multicloud | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'bootstrap/vagrant-onap/lib/multicloud') diff --git a/bootstrap/vagrant-onap/lib/multicloud b/bootstrap/vagrant-onap/lib/multicloud index 1126d6146..1c781fed2 100755 --- a/bootstrap/vagrant-onap/lib/multicloud +++ b/bootstrap/vagrant-onap/lib/multicloud @@ -25,6 +25,11 @@ function compile_multicloud_repos { done } +# get_multicloud_images() - +function get_multicloud_images { + echo "pass" +} + # install_multicloud() - function install_multicloud { echo "pass" @@ -38,5 +43,10 @@ function init_multicloud { compile_multicloud_repos fi fi - install_multicloud + if [[ "$skip_get_images" == "False" ]]; then + get_multicloud_images + if [[ "$skip_install" == "False" ]]; then + install_multicloud + fi + fi } -- cgit 1.2.3-korg