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/portal | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bootstrap/vagrant-onap/lib/portal') diff --git a/bootstrap/vagrant-onap/lib/portal b/bootstrap/vagrant-onap/lib/portal index 998d6c075..4dc5ef9b8 100755 --- a/bootstrap/vagrant-onap/lib/portal +++ b/bootstrap/vagrant-onap/lib/portal @@ -67,6 +67,7 @@ function install_portal { install_package unzip unzip -o etc.zip -d /PROJECT/OpenSource/UbuntuEP/ + _install_mariadb install_docker_compose bash portal_vm_init.sh @@ -88,7 +89,11 @@ function init_portal { compile_all_portal_repos fi fi - get_portal_images - _install_mariadb - install_portal + + if [[ "$skip_get_images" == "False" ]]; then + get_portal_images + if [[ "$skip_install" == "False" ]]; then + install_portal + fi + fi } -- cgit 1.2.3-korg