Created
May 19, 2016 00:24
-
-
Save xarses/80e07a88c1b63c40cd1c783e03c03e30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ -n "$1" ]] ; then | |
export ISO_PATH=$1 | |
else | |
export ISO_PATH=/home/andreww/iso/fuel-4.1-235-2014-03-05_07-31-01.iso | |
fi | |
if [[ -z "$ENV_NAME" ]] ; then | |
export ENV_NAME=xarses | |
fi | |
#export FORWARD_DEFAULT=route | |
export POOL_DEFAULT='10.110.0.0/16:24' | |
echo "ISO_PATH=${ISO_PATH}" | |
echo "ENV_NAME=${ENV_NAME}" | |
echo "FORWARD_DEFAULT=${FORWARD_DEFAULT}" | |
echo "POOL_DEFAULT=${POOL_DEFAULT}" | |
nose="nosetests fuelweb_test.tests.base_test_case:SetupEnvironment.setup_master" | |
if [[ -n "$2" ]] ; then | |
cd ~/git/fuel-qa/ | |
$nose | |
else | |
echo $nose | |
#example | |
#ENV_NAME=9-custom-152-kilo fuel-start.sh ~/iso/fuel-9.0-custom-152-2016-05-05_18-01-40.iso go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment