#!/bin/bash # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017, 2018 The Linux Foundation and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## # Installs the openstack cli to /tmp/v/openstack echo "---> Install openstack cli into /tmp/v/openstack" virtualenv "/tmp/v/openstack" # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 source "/tmp/v/openstack/bin/activate" pip install --upgrade "pip<10.0.0" setuptools pip install --upgrade lftools lftools[openstack] python-openstackclient python-heatclient pip freeze