Remove LIBS_FROM_GIT from the plugin code

LIBS_FROM_GIT should config by user in them local.conf,
This patch Remove LIBS_FROM_GIT from the plugin code.

Closes-Bug: #1733805
Change-Id: I89f6c541e07e8f84cbbd0d7aece91bd320370442
This commit is contained in:
zhurong 2017-11-22 16:59:05 +08:00
parent b295cf8d38
commit d3f19e181e
6 changed files with 12 additions and 1 deletions

View File

@ -16,6 +16,10 @@ zun plugin::
enable_plugin zun https://git.openstack.org/openstack/zun master
END
If you would like to install python-zunclient from git, add to local.conf::
LIBS_FROM_GIT="python-zunclient"
Then run devstack normally::
cd /opt/stack/devstack

View File

@ -10,5 +10,8 @@ enable_plugin devstack-plugin-container https://git.openstack.org/openstack/devs
KURYR_ETCD_PORT=2379
enable_plugin kuryr-libnetwork https://git.openstack.org/openstack/kuryr-libnetwork
# install python-zunclient from git
LIBS_FROM_GIT="python-zunclient"
# Optional: uncomment to enable the Zun UI plugin in Horizon
# enable_plugin zun-ui https://git.openstack.org/openstack/zun-ui

View File

@ -13,7 +13,6 @@ if is_service_enabled zun-api zun-compute; then
echo_summary "Installing zun"
install_zun
LIBS_FROM_GIT="${LIBS_FROM_GIT},python-zunclient"
install_zunclient
cleanup_zun

View File

@ -40,6 +40,9 @@ required OpenStack services::
enable_plugin zun https://git.openstack.org/openstack/zun
enable_plugin kuryr-libnetwork https://git.openstack.org/openstack/kuryr-libnetwork
# install python-zunclient from git
LIBS_FROM_GIT="python-zunclient"
# Optional: uncomment to enable the Zun UI plugin in Horizon
# enable_plugin zun-ui https://git.openstack.org/openstack/zun-ui
END

View File

@ -30,6 +30,7 @@
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin zun git://git.openstack.org/openstack/zun
LIBS_FROM_GIT="python-zunclient"
[[post-config|$KURYR_CONFIG]]
[DEFAULT]

View File

@ -30,6 +30,7 @@
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin zun git://git.openstack.org/openstack/zun
LIBS_FROM_GIT="python-zunclient"
EOF
executable: /bin/bash