aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/vagrant_utils
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/vagrant_utils')
-rwxr-xr-xbootstrap/vagrant-onap/vagrant_utils/postinstall.sh12
-rwxr-xr-xbootstrap/vagrant-onap/vagrant_utils/unit_testing.sh4
2 files changed, 14 insertions, 2 deletions
diff --git a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
index 89a69dd9a..8bf116d1d 100755
--- a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
+++ b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh
@@ -1,11 +1,19 @@
#!/bin/bash
-set -o xtrace
+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
create_configuration_files
-install_dev_tools
configure_bind
for serv in $@; do
diff --git a/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh b/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
index a378ad0cd..3a97ad9cf 100755
--- a/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
+++ b/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+if [[ "$debug" == "True" ]]; then
+ set -o xtrace
+fi
+
set -o errexit
TEST_SUITE=${1:-*}