Unify Centos and Ubuntu Source Install - Ceilometer
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: Iab907f680d08a3f3ed1d13b6867df01853105fc4 Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
eecf6581a4
commit
e13cb31ccb
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -10,15 +10,12 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
{% endif %}
|
||||
{% elif install_type == 'source' %}
|
||||
|
||||
ADD ./ceilometer.tar /
|
||||
RUN ln -s /ceilometer-* /ceilometer
|
||||
|
||||
RUN cd /ceilometer \
|
||||
ADD ceilometer.tar /
|
||||
RUN ln -s /ceilometer-* ceilometer \
|
||||
&& useradd --user-group ceilometer \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install /ceilometer \
|
||||
&& mkdir /etc/ceilometer /var/log/ceilometer \
|
||||
&& pip --no-cache-dir install /ceilometer \
|
||||
&& mkdir -p /etc/ceilometer /var/log/ceilometer /home/ceilometer \
|
||||
&& cp -r /ceilometer/etc/* /etc/ceilometer/ \
|
||||
&& rm -rf /root/.cache
|
||||
&& chown -R ceilometer: /etc/ceilometer /var/log/ceilometer /home/ceilometer
|
||||
|
||||
{% endif %}
|
||||
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
Loading…
Reference in New Issue
Block a user