parent
d48271f1f4
commit
bd2f9a2910
@ -0,0 +1,21 @@
|
||||
====================
|
||||
Enabling in Devstack
|
||||
====================
|
||||
|
||||
**WARNING**: the stack.sh script must be run in a disposable VM that is not
|
||||
being created automatically, see the README.md file in the "devstack"
|
||||
repository. See contrib/vagrant to create a vagrant VM.
|
||||
|
||||
1. Download DevStack::
|
||||
|
||||
git clone https://git.openstack.org/openstack-dev/devstack.git
|
||||
cd devstack
|
||||
|
||||
2. Add this repo as an external repository::
|
||||
|
||||
> cat local.conf
|
||||
[[local|localrc]]
|
||||
enable_plugin tobiko https://git.openstack.org/openstack/tobiko
|
||||
|
||||
3. Run ``stack.sh``
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Directory where this plugin.sh file is
|
||||
TOBIKO_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
|
||||
# source "${TOBIKO_PLUGIN_DIR}/customize_image.sh"
|
||||
|
||||
|
||||
function tobiko_install {
|
||||
setup_dev_lib "tobiko"
|
||||
}
|
||||
|
||||
|
||||
function tobiko_test_config {
|
||||
echo "TODO(fressi): generate tobiko.conf here"
|
||||
}
|
||||
|
||||
|
||||
if [[ "$1" == "stack" ]]; then
|
||||
case "$2" in
|
||||
install)
|
||||
echo_summary "Installing tobiko-plugin"
|
||||
tobiko_install
|
||||
;;
|
||||
test-config)
|
||||
echo_summary "Configuring tobiko options"
|
||||
tobiko_test_config
|
||||
;;
|
||||
esac
|
||||
fi
|
@ -0,0 +1,3 @@
|
||||
GITREPO["tobiko"]=${TOBIKO_REPO:-${GIT_BASE}/openstack/tobiko.git}
|
||||
GITDIR["tobiko"]=$DEST/tobiko
|
||||
GITBRANCH["tobiko"]=master
|
Loading…
Reference in new issue