From 8a0c9450a19892d4254e2b69d04f3b84007b700b Mon Sep 17 00:00:00 2001 From: Nate Potter Date: Wed, 2 Aug 2017 15:17:41 -0700 Subject: Add warnings and options to run.sh Adds a warning to run.sh informing the user that the contents of their /opt folder will be deleted by the test. Also adds option parsing, -y for skipping the prompt, -s for test suite selection, -c for test case selection, as well as -h for displaying help for the program. Change-Id: I888350d31839bd6db91a497a04ae3308af5329e9 Issue-Id: INT-97 Signed-off-by: Nate Potter --- bootstrap/vagrant-onap/vagrant_utils/postinstall.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 bootstrap/vagrant-onap/vagrant_utils/postinstall.sh (limited to 'bootstrap/vagrant-onap/vagrant_utils/postinstall.sh') diff --git a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh new file mode 100755 index 000000000..f5a7ac684 --- /dev/null +++ b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -o xtrace + +source /var/onap/functions + +export_env_vars +create_configuration_files +install_dev_tools +install_java +configure_bind + +for serv in $@; do + source /var/onap/${serv} + configure_service ${serv}_serv.sh + init_${serv} +done -- cgit 1.2.3-korg