From cbd42ca6e90cca2ff4b84f5e4e46224e6455e8b2 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Fri, 28 Aug 2015 12:16:53 +0000 Subject: Move docker_templates to docker dir Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir --- docker_templates/base/kolla-common.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 docker_templates/base/kolla-common.sh (limited to 'docker_templates/base/kolla-common.sh') diff --git a/docker_templates/base/kolla-common.sh b/docker_templates/base/kolla-common.sh deleted file mode 100644 index cc960ca24..000000000 --- a/docker_templates/base/kolla-common.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set_configs() { - case $KOLLA_CONFIG_STRATEGY in - COPY_ALWAYS) - source /opt/kolla/config-external.sh - ;; - COPY_ONCE) - if [[ -f /configured ]]; then - echo 'INFO - This container has already been configured; Refusing to copy new configs' - else - source /opt/kolla/config-external.sh - touch /configured - fi - ;; - - *) - echo '$KOLLA_CONFIG_STRATEGY is not set properly' - exit 1 - ;; - esac -} -- cgit v1.2.3