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: I20a5ad10f89bafb841f5718d74317fcd22260742 Partial-Bug: #1741634
This commit is contained in:
parent
9a67e54c55
commit
d79374bb9c
@ -114,6 +114,7 @@
|
||||
shell: |
|
||||
find {{ octavia_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ octavia_bin | replace ('/','\/') }}\/python/' {{ octavia_bin }}/*
|
||||
virtualenv {{ octavia_bin | dirname }}
|
||||
when:
|
||||
- not octavia_developer_mode | bool
|
||||
- octavia_get_venv | changed or octavia_venv_dir | changed
|
||||
|
Loading…
Reference in New Issue
Block a user