Checks the installation of curl command, Nova, Neutron and OpenStack packages
related-bug: 1552433 Change-Id: If89e2a1bc959039fc7088c8295e88a199eabbedc
This commit is contained in:
parent
0af1df1eb7
commit
caa3f90c83
@ -11,7 +11,12 @@ unset LANG
|
|||||||
unset LANGUAGE
|
unset LANGUAGE
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
export LC_ALL
|
export LC_ALL
|
||||||
|
for i in curl nova neutron openstack; do
|
||||||
|
if [[ ! $(which $i) ]]; then
|
||||||
|
echo "$i not installed. Please install $i before proceeding"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
# Move to top level directory
|
# Move to top level directory
|
||||||
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
||||||
cd "$(dirname "$REAL_PATH")/.."
|
cd "$(dirname "$REAL_PATH")/.."
|
||||||
|
Loading…
Reference in New Issue
Block a user