diff options
author | Nauman_Ahad <Nauman_Ahad@dell.com> | 2016-01-07 13:09:45 +0500 |
---|---|---|
committer | Nauman_Ahad <Nauman_Ahad@dell.com> | 2016-01-07 13:09:45 +0500 |
commit | 11c81d90581606c0bde98e04a4f739eed4bcbf6d (patch) | |
tree | bf11d3f1cf619cc617e736208a812ea828bd1f2c /get_env_info.sh | |
parent | 61159e1e4f028dbb34573f2186d448be578894ee (diff) |
Slight changes to the run_qtip.sh script
Modifications needed in run_qtip.sh for Jenkins Jobs
to run. Docker file changed too.
get_env.sh script location changed too.
Testcases for dell-us-deploying-bm-3 lab added along with the default testcase
directory
Change-Id: I293febda0ddd3d56d1c455fde220dc78a57b6c18
Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'get_env_info.sh')
-rwxr-xr-x | get_env_info.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/get_env_info.sh b/get_env_info.sh new file mode 100755 index 00000000..77af011b --- /dev/null +++ b/get_env_info.sh @@ -0,0 +1,22 @@ +#! /bin/bash + +usage() { + echo "usage $0 -n <installer_type> -i <installer_ip>" +} + + + +while getopts ":n:i:" optchar; do + case "${optchar}" in + n) + export INSTALLER_TYPE=${OPTARG};; + + i) + export INSTALLER_IP=${OPTARG};; + + *) + echo "Incorrect usage" + usage ;; + esac +done +./data/fetch_os_creds.sh -d ./data/opnfv-creds.sh |