Skip to content

Commit 3be22a0

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Fix _get_images_dir when pip-installed with --user" into stable/ussuri
2 parents 253c215 + 5c676e4 commit 3be22a0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

kolla/image/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ def _get_images_dir(self):
797797
PROJECT_ROOT,
798798
os.path.join(sys.prefix, 'share/kolla'),
799799
os.path.join(sys.prefix, 'local/share/kolla'),
800+
os.path.join(os.getenv('HOME', ''), '.local/share/kolla'),
800801
# NOTE(zioproto): When Kolla is used within a snap, the env var
801802
# $SNAP is the directory where the snap is mounted.
802803
# https://github.com/zioproto/snap-kolla
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fix support for kolla install in ``~/.local``. `LP#1930544
5+
<https://launchpad.net/bugs/1930544>`__

0 commit comments

Comments
 (0)