Browse Source

Merge "Fix _get_images_dir when pip-installed with --user"

changes/20/795320/1
Zuul 6 months ago
committed by Gerrit Code Review
parent
commit
1c5d98ecab
  1. 1
      kolla/image/build.py
  2. 5
      releasenotes/notes/bug-1930544-a8926990f3a578a9.yaml

1
kolla/image/build.py

@ -753,6 +753,7 @@ class KollaWorker(object):
PROJECT_ROOT,
os.path.join(sys.prefix, 'share/kolla'),
os.path.join(sys.prefix, 'local/share/kolla'),
os.path.join(os.getenv('HOME', ''), '.local/share/kolla'),
# NOTE(zioproto): When Kolla is used within a snap, the env var
# $SNAP is the directory where the snap is mounted.
# https://github.com/zioproto/snap-kolla

5
releasenotes/notes/bug-1930544-a8926990f3a578a9.yaml

@ -0,0 +1,5 @@
---
fixes:
- |
Fix support for kolla install in ``~/.local``. `LP#1930544
<https://launchpad.net/bugs/1930544>`__
Loading…
Cancel
Save