aboutsummaryrefslogtreecommitdiff
path: root/docker/common/nova/nova-api/start.sh
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-08-27 18:54:29 -0700
committerSteven Dake <stdake@cisco.com>2015-08-28 00:50:29 -0700
commit9fe28bd22018bc140b5202786a3cecd6337ca973 (patch)
tree2c82ceeecd4f21ddf3736ab5b46b153a9615383b /docker/common/nova/nova-api/start.sh
parentce86de9915d24f3a3dc7688ff66a536b6adb780b (diff)
downloadkolla-9fe28bd22018bc140b5202786a3cecd6337ca973.tar.gz
kolla-9fe28bd22018bc140b5202786a3cecd6337ca973.zip
Move scripts for nova to docker_templates
Change-Id: If00f0f2e3258b7b2876b42b4fbda3681c49c8127 Partially-Implements: blueprint remove-docker-dir
Diffstat (limited to 'docker/common/nova/nova-api/start.sh')
-rwxr-xr-xdocker/common/nova/nova-api/start.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/docker/common/nova/nova-api/start.sh b/docker/common/nova/nova-api/start.sh
deleted file mode 100755
index ad25ba65c..000000000
--- a/docker/common/nova/nova-api/start.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-set -o errexit
-
-CMD="/usr/bin/nova-api"
-ARGS=""
-
-# Loading common functions.
-source /opt/kolla/kolla-common.sh
-
-# Execute config strategy
-set_configs
-
-# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
-# of the KOLLA_BOOTSTRAP variable being set, including empty.
-if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
- su -s /bin/sh -c "nova-manage db sync" nova
- exit 0
-fi
-
-exec $CMD $ARGS