Reinitialize the virtualenv

In the previous patch removing the virtualenv-tools, we've updated
paths to the proper binaries, but we don't reset the virtualenv
like what we used to do.

Change-Id: I8fe7209662fd198cfc18bb324f74eaf53bc1711d
Partial-Bug: #1741634
This commit is contained in:
Jean-Philippe Evrard 2018-01-19 16:54:07 +00:00
parent e227681998
commit 9ffe93f64c
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@
shell: |
find {{ nova_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ nova_bin | replace ('/','\/') }}\/python/' {{ nova_bin }}/*
virtualenv {{ nova_bin | dirname }}
when:
- nova_get_venv | changed
tags: