diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-03-08 22:34:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-03-08 22:34:25 +0000 |
| commit | 8c2351ed7da9b4a8c4e0202bf071ffd2dbaa925b (patch) | |
| tree | de1af6ff2789e3632fe927d959ffc8462e30c4da | |
| parent | f2f88f5250cf61d41560b860fee099ba3ad51bba (diff) | |
| parent | caa3f90c8386cb75d76d69a2d68a7bb3e302bbb5 (diff) | |
| download | kolla-8c2351ed7da9b4a8c4e0202bf071ffd2dbaa925b.tar.gz kolla-8c2351ed7da9b4a8c4e0202bf071ffd2dbaa925b.zip | |
Merge "Checks the installation of curl command, Nova, Neutron and OpenStack packages related-bug: 1552433"
| -rwxr-xr-x | tools/init-runonce | 7 |
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")/.." |
