Add devstack module and with instructions on using it included in the quickstart guide. The old manual process for using magnum with devstack has been kept to retain information on how to deploy magnum manually. A localrc for use with devstack has also been included rather than forcing the user to copy and paste from the docs. Closes-bug: 1430053 Change-Id: I373021378fd25d5a6cdb6213eaa21f8045a66be6
15 lines
587 B
Bash
Executable File
15 lines
587 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
MAGNUM_DIR=$(readlink -f $(dirname $0)/../..)
|
|
INSTALL_DIR=${INSTALL_DIR:-/opt/stack}
|
|
|
|
cp ${MAGNUM_DIR}/contrib/devstack/lib/magnum ${INSTALL_DIR}/devstack/lib
|
|
cp ${MAGNUM_DIR}/contrib/devstack/extras.d/70-magnum.sh ${INSTALL_DIR}/devstack/extras.d
|
|
|
|
# Add magnum specific requirements to global requirements
|
|
git clone https://git.openstack.org/openstack/requirements ${INSTALL_DIR}/requirements || true
|
|
echo "python-kubernetes>=0.2" >> ${INSTALL_DIR}/requirements/global-requirements.txt
|
|
echo "docker-py>=0.5.1" >> ${INSTALL_DIR}/requirements/global-requirements.txt
|