Fix libvirt sed
Change-Id: I6061b480de7d7e03571871250386a7ff411600da
This commit is contained in:
parent
8394a82409
commit
15a657cc03
|
@ -23,8 +23,8 @@ RUN apt-get update \
|
|||
&& ln -s /usr/lib/python2.7/dist-packages/rbd-0.egg-info /var/lib/microservices/venv/local/lib/python2.7/site-packages/rbd-0.egg-info \
|
||||
&& ln -s /usr/lib/python2.7/dist-packages/rbd.so /var/lib/microservices/venv/local/lib/python2.7/site-packages/rbd.so
|
||||
|
||||
# Newton constraint has a hard req libvirt-python==2.1.0. Ocata has 2.5.0.
|
||||
RUN sed -i 's/libvirt-python===2.1.0/libvirt-python===2.4.0/' /var/lib/microservices/venv/constraints.txt \
|
||||
# We have to set libvirt-python version to 2.4.0, to match the libvirt from testing repo.
|
||||
RUN sed -i 's/libvirt-python.*/libvirt-python==2.4.0/' /var/lib/microservices/venv/constraints.txt \
|
||||
&& /var/lib/microservices/venv/bin/pip install --upgrade libvirt-python rtslib-fb && \
|
||||
rm -f /etc/machine-id
|
||||
|
||||
|
|
Loading…
Reference in New Issue