diff options
Diffstat (limited to 'testsuites/stability')
-rw-r--r-- | testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh b/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh index 8ea123d9..5323fc57 100644 --- a/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh +++ b/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh @@ -21,6 +21,14 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo ${DIR} +# get the PAP_HOST from the command line +read -p 'PAP_HOST : ' PAP_HOST + +# setting hostname to environment variable +echo "export API_HOST=`hostname -I | awk '{print $1}'`" >> ~/.bashrc +echo "export PAP_HOST=$PAP_HOST" >> ~/.bashrc +source ~/.bashrc + # the temp directory used, within $DIR # omit the -p parameter to create a temporal directory in the default location WORK_DIR=`mktemp -d -p "$DIR"` |