aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-08 17:11:18 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-08 17:11:18 +0000
commit0752b7967768461e769bba56eb601490d63e75c8 (patch)
tree88d3189b5d0a3e660dc1283bba41755a5aee5041 /bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
parent540a49a6ff7f4189d25dfd186b9875d691c31380 (diff)
parent4ab71c18e0c7ab0ce299a8708488ab84a97aea82 (diff)
Merge "Add OpenStack support"
Diffstat (limited to 'bootstrap/vagrant-onap/vagrant_utils/postinstall.sh')
-rwxr-xr-xbootstrap/vagrant-onap/vagrant_utils/postinstall.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
index c1b1c33a2..8bf116d1d 100755
--- a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
+++ b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
@@ -4,6 +4,12 @@ if [[ "$debug" == "True" ]]; then
set -o xtrace
fi
+if [[ "$1" == "openstack" ]]; then
+ source /var/onap/openstack
+ deploy_openstack
+ exit
+fi
+
source /var/onap/functions
update_repos