Merge "Install openstackclient"

This commit is contained in:
Jenkins 2014-10-28 18:49:11 +00:00 committed by Gerrit Code Review
commit a21461ac30
4 changed files with 21 additions and 0 deletions

View File

@ -72,3 +72,11 @@ fi
if [ -z "${SWIFTCLIENT_EXTRA_INSTALL_OPTS:-}" ]; then
export SWIFTCLIENT_EXTRA_INSTALL_OPTS=${OPENSTACK_EXTRA_INSTALL_OPTS:-""}
fi
# openstackclient
if [ -z "${OPENSTACKCLIENT_VENV_DIR:-}" ]; then
export OPENSTACKCLIENT_VENV_DIR=${OPENSTACK_VENV_DIR:-"/opt/stack/venvs/python-openstackclient"}
fi
if [ -z "${OPENSTACKCLIENT_EXTRA_INSTALL_OPTS:-}" ]; then
export OPENSTACKCLIENT_EXTRA_INSTALL_OPTS=${OPENSTACK_EXTRA_INSTALL_OPTS:-""}
fi

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -eux
install-packages python-openstackclient

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -eux
install-openstack-client $OPENSTACKCLIENT_EXTRA_INSTALL_OPTS -c openstack -i $OPENSTACKCLIENT_VENV_DIR
add-selinux-path-substitution /usr/bin $OPENSTACKCLIENT_VENV_DIR/bin

View File

@ -7,3 +7,4 @@ python-keystoneclient git /opt/stack/python-keystoneclient https://git.openstack
python-neutronclient git /opt/stack/python-neutronclient https://git.openstack.org/openstack/python-neutronclient.git
python-novaclient git /opt/stack/python-novaclient https://git.openstack.org/openstack/python-novaclient.git
python-swiftclient git /opt/stack/python-swiftclient https://git.openstack.org/openstack/python-swiftclient.git
python-openstackclient git /opt/stack/python-openstackclient https://git.openstack.org/openstack/python-openstackclient.git