Skip to content
Snippets Groups Projects
Commit 4beacffb authored by Sam Yaple's avatar Sam Yaple
Browse files

Fix Glance for Ubuntu

Change-Id: Ie442b60fbaadcb83fca060b811e95c07c773c8b8
Partially-Implements: blueprint install-from-ubuntu
parent f70e8d45
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,10 @@ RUN ln -s /glance-* /glance ...@@ -23,9 +23,10 @@ RUN ln -s /glance-* /glance
RUN cd /glance \ RUN cd /glance \
&& useradd --user-group glance \ && useradd --user-group glance \
&& pip install -r requirements.txt \ && pip install -r requirements.txt \
&& pip install /glance \ && pip install --install-option="--install-scripts=/usr/bin" /glance \
&& mkdir /etc/glance /var/log/glance \ && mkdir -p /etc/glance /var/log/glance /home/glance \
&& cp -r /glance/etc/* /etc/glance/ \ && cp -r /glance/etc/* /etc/glance/ \
&& chown -R glance: /etc/glance /var/log/glance /home/glance \
&& rm -rf /root/.cache && rm -rf /root/.cache
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment