summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-11-08 07:28:28 -0800
committerVictor Morales <victor.morales@intel.com>2017-11-08 07:36:16 -0800
commit4ab71c18e0c7ab0ce299a8708488ab84a97aea82 (patch)
tree45e83c3d83e9d5dc46c27c5c2aa9e8c9a1e18a23 /bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
parent6dbd7da003f938e2dbd73944624e8679027c35ca (diff)
Add OpenStack support
This change allows the provisioning of an All-in-One OpenStack deployment through ansible-kolla project. Given that it uses System D this adds an exception to use Ubuntu Xenial release. Change-Id: I57973a1b5cc331654fbabf7932ddcfef817afedf Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-329
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