aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/init-runonce7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/init-runonce b/tools/init-runonce
index 39f733797..a0f2dc891 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -11,7 +11,12 @@ unset LANG
unset LANGUAGE
LC_ALL=C
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
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."