Merge "Install openstackclient"
This commit is contained in:
commit
a21461ac30
@ -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
|
||||
|
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
install-packages python-openstackclient
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user