diff options
author | 2017-08-02 15:17:41 -0700 | |
---|---|---|
committer | 2017-08-14 17:51:57 -0500 | |
commit | 8a0c9450a19892d4254e2b69d04f3b84007b700b (patch) | |
tree | 51fdaf12217c3bb027f688cfce53c74f0447d688 /bootstrap/vagrant-onap/vagrant_utils/postinstall.sh | |
parent | d1c03409f28c32d8cb0a97d4311b58907729998e (diff) |
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 <nathaniel.potter@intel.com>
Diffstat (limited to 'bootstrap/vagrant-onap/vagrant_utils/postinstall.sh')
-rwxr-xr-x | bootstrap/vagrant-onap/vagrant_utils/postinstall.sh | 17 |
1 files changed, 17 insertions, 0 deletions
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 |