diff options
| author | Kirill Proskurin <kproskurin@mirantis.com> | 2015-11-02 13:49:42 +0300 |
|---|---|---|
| committer | Proskurin Kirill <kproskurin@mirantis.com> | 2015-11-06 14:03:30 +0300 |
| commit | 396014f8d10b4821adc69ed5c4869309b76147d4 (patch) | |
| tree | d0a23308a6a1bcc989bda72bbc6b431f5b4946e0 /tools | |
| parent | efab0314e9a19dfa179b2ca02dd9a6f18c352295 (diff) | |
| download | kolla-396014f8d10b4821adc69ed5c4869309b76147d4.tar.gz kolla-396014f8d10b4821adc69ed5c4869309b76147d4.zip | |
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
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
