Fix python-virtualenv installation
Change-Id: I991b730dc63276643bac5fe0223e11726248699e Closes-Bug: #1630721
This commit is contained in:
parent
f7d54c7c4e
commit
8d57c401b7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue