Skip to content
Snippets Groups Projects
Commit 48c7fd4b authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Unify Centos and Ubuntu Source Install - Nova"

parents 91ecc598 bd98a508
No related branches found
No related tags found
No related merge requests found
...@@ -39,16 +39,12 @@ RUN apt-get install -y --no-install-recommends \ ...@@ -39,16 +39,12 @@ RUN apt-get install -y --no-install-recommends \
{% endif %} {% endif %}
ADD ./nova.tar / ADD nova.tar /
RUN ln -s /nova-* /nova RUN ln -s /nova-* nova \
RUN cd /nova \
&& useradd --user-group nova \ && useradd --user-group nova \
&& pip install -r requirements.txt \ && pip --no-cache-dir install /nova \
&& pip install --install-option="--install-scripts=/usr/bin" /nova \ && mkdir -p /etc/nova /var/log/nova /home/nova \
&& mkdir /etc/nova /var/log/nova /home/nova \
&& cp -r /nova/etc/nova/* /etc/nova/ \ && cp -r /nova/etc/nova/* /etc/nova/ \
&& chown -R nova: /etc/nova /var/log/nova /home/nova \ && chown -R nova: /etc/nova /var/log/nova /home/nova
&& 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