diff options
| author | prithiv <prithiv.mohan@intel.com> | 2016-03-08 17:50:51 +0000 |
|---|---|---|
| committer | Prithiv <prithiv.mohan@intel.com> | 2016-03-08 20:35:50 +0000 |
| commit | caa3f90c8386cb75d76d69a2d68a7bb3e302bbb5 (patch) | |
| tree | dec80acfe33a9d89181ccadf304e0156e5a05e21 | |
| parent | 0af1df1eb77b244a77d320ebcf47b5f18d44cfac (diff) | |
| download | kolla-ansible-caa3f90c8386cb75d76d69a2d68a7bb3e302bbb5.tar.gz kolla-ansible-caa3f90c8386cb75d76d69a2d68a7bb3e302bbb5.zip | |
Checks the installation of curl command, Nova, Neutron and OpenStack packages
related-bug: 1552433
Change-Id: If89e2a1bc959039fc7088c8295e88a199eabbedc
| -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")/.." |
