From 396014f8d10b4821adc69ed5c4869309b76147d4 Mon Sep 17 00:00:00 2001 From: Kirill Proskurin Date: Mon, 2 Nov 2015 13:49:42 +0300 Subject: Few improvements in Kolla tools. Added Ubuntu support. pip install default prefix in Ubuntu is /usr/local, and Kolla tools scripts didnt respect that. So I added few OS checks in this scripts. I improve config path check in build.py. Added more verbose error if we can't find config directory. Change-Id: Ide521ed205b0dc1fc27e237a9a8f4da0168e664f Closes-Bug: #1512302 --- tools/kolla-ansible | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 573158df0..d24941193 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -7,6 +7,8 @@ function find_base_dir { local dir_name="$(dirname "$real_path")" if [[ ${dir_name} == "/usr/bin" ]]; then BASEDIR=/usr/share/kolla + elif [[ ${dir_name} == "/usr/local/bin" ]]; then + BASEDIR=/usr/local/share/kolla else BASEDIR="${dir_name}/.." fi -- cgit v1.2.3