22 lines
501 B
Bash
Executable File
22 lines
501 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
|
|
export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
|
|
|
|
cp -R ${PROJECT_PATH}/openstack_deploy /etc
|
|
pushd ${PROJECT_PATH}/openstack-ansible
|
|
scripts/bootstrap-ansible.sh
|
|
popd
|
|
|
|
pushd ${PROJECT_PATH}/openstack-ansible/playbooks
|
|
openstack-ansible setup-hosts.yml
|
|
openstack-ansible setup-infrastructure.yml
|
|
openstack-ansible setup-openstack.yml
|
|
popd
|
|
|
|
pushd ${PROJECT_PATH}/network_bootstrap
|
|
openstack-ansible bootstrap-neutron.yml
|
|
popd
|