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

Unify Centos and Ubuntu Source Install - Murano

A change merged in the base allows for Centos and Ubuntu to install
all python things to the same locations. This updates the source
section to reflect that change.

Change-Id: I7b3504874088bae76c9dcb429c8aa8e0fd307a8e
Partially-Implements: blueprint install-from-ubuntu
parent eecf6581
No related branches found
No related tags found
No related merge requests found
......@@ -9,15 +9,11 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% elif install_type == 'source' %}
ADD murano.tar /
RUN ln -s /murano-* /murano
RUN cd /murano \
RUN ln -s /murano-* murano \
&& useradd --user-group murano \
&& pip install -r requirements.txt \
&& pip install --install-option="--install-scripts=/usr/bin" /murano \
&& pip --no-cache-dir install /murano \
&& mkdir -p /etc/murano /var/log/murano /home/murano \
&& cp -r /murano/etc/murano/* /etc/murano/ \
&& chown -R murano: /etc/murano /var/log/murano /home/murano \
&& rm -rf /root/.cache
&& chown -R murano: /etc/murano /var/log/murano /home/murano
{% 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