
This large commit refactors mariadb and creates a utils and openstack chart to facilitate installing all openstack elemenets and supporting infrastructure.
22 lines
352 B
Bash
22 lines
352 B
Bash
{{define "common.sh"}}
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
function start_application {
|
|
|
|
if [ "$DEBUG_CONTAINER" = "true" ]
|
|
then
|
|
tail -f /dev/null
|
|
else
|
|
_start_application
|
|
fi
|
|
|
|
}
|
|
|
|
CLUSTER_SCRIPT_PATH=/openstack-kube/openstack-kube/scripts
|
|
CLUSTER_CONFIG_PATH=/openstack-kube/openstack-kube/etc
|
|
|
|
export MY_IP=$(ip route get 1 | awk '{print $NF;exit}')
|
|
|
|
|
|
{{end}} |