kayobe/dev/environment-setup.sh
Mark Goddard b3880aa264 Add scripting around the development environment
The following top level scripts are added under dev/:

* overcloud-deploy.sh
* seed-deploy.sh
* seed-hypervisor-deploy.sh

Some amount of configuration is possible via dev/config.sh.
2018-01-31 10:58:19 +00:00

21 lines
445 B
Bash
Executable File

#!/bin/bash
set -e
# This script can be used to prepare the environment for use with kayobe. This
# includes setting environment variables and activating the python virtual
# environment. This script should be sourced rather than executed in a
# subprocess. e.g. source dev/environment-setup.sh
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source ${PARENT}/functions
function main {
config_init
environment_setup
}
main