summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/portal
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-29 03:37:47 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-29 03:37:47 +0000
commit53ef8bc5b456d4f9b157f84252202757771e5d2d (patch)
tree574f3ea939db3f00cbb8931d7c383f7b4a30da30 /bootstrap/vagrant-onap/lib/portal
parent8534458b0fe4e9e87dad0e2c92ac17d989054403 (diff)
parent6a919971cef56b9102dc358014006985d7eaba5b (diff)
Merge "Add support to configuration values"
Diffstat (limited to 'bootstrap/vagrant-onap/lib/portal')
-rwxr-xr-xbootstrap/vagrant-onap/lib/portal11
1 files changed, 8 insertions, 3 deletions
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
}