Fix python-virtualenv installation

Change-Id: I991b730dc63276643bac5fe0223e11726248699e
Closes-Bug: #1630721
This commit is contained in:
Mykyta Karpin 2016-10-05 21:59:07 +03:00
parent f7d54c7c4e
commit 8d57c401b7
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ function get_ip_from_iface() {
function get_floating_ip() {
if [[ -z "${FLOATING_IP_ADDRESS}" ]]; then
sudo apt-get -y install python-virtualenv
sudo apt-get update && sudo apt-get -y install python-virtualenv
local tmp_venv=$(mktemp -d)
virtualenv "${tmp_venv}"
"${tmp_venv}/bin/pip" install "python-novaclient>=2.22.0"