aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/group_vars/all.yml4
-rw-r--r--docker/common/base/kolla-common.sh8
-rw-r--r--etc/kolla/globals.yml4
3 files changed, 6 insertions, 10 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
index 1b19ebb27..16efa3d5c 100644
--- a/ansible/group_vars/all.yml
+++ b/ansible/group_vars/all.yml
@@ -17,8 +17,8 @@ node_config_directory: "/etc/kolla"
###################
# Kolla options
###################
-# Valid options are [ CONFIG_EXTERNAL_COPY_ONCE, CONFIG_EXTERNAL_COPY_ALWAYS ]
-config_strategy: "CONFIG_EXTERNAL_COPY_ONCE"
+# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
+config_strategy: "COPY_ONCE"
# Valid options are [ centos, fedora, oraclelinux, ubuntu ]
kolla_base_distro: "centos"
diff --git a/docker/common/base/kolla-common.sh b/docker/common/base/kolla-common.sh
index 38b1f23ec..cc960ca24 100644
--- a/docker/common/base/kolla-common.sh
+++ b/docker/common/base/kolla-common.sh
@@ -2,14 +2,10 @@
set_configs() {
case $KOLLA_CONFIG_STRATEGY in
- CONFIG_INTERNAL)
- echo "Config internal no longer exists in this project."
- exit 1
- ;;
- CONFIG_EXTERNAL_COPY_ALWAYS)
+ COPY_ALWAYS)
source /opt/kolla/config-external.sh
;;
- CONFIG_EXTERNAL_COPY_ONCE)
+ COPY_ONCE)
if [[ -f /configured ]]; then
echo 'INFO - This container has already been configured; Refusing to copy new configs'
else
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml
index 47467f3b2..926ae84eb 100644
--- a/etc/kolla/globals.yml
+++ b/etc/kolla/globals.yml
@@ -5,8 +5,8 @@
###################
# Kolla options
###################
-# Valid options are [ CONFIG_EXTERNAL_COPY_ONCE, CONFIG_EXTERNAL_COPY_ALWAYS ]
-#config_strategy: "CONFIG_EXTERNAL_COPY_ONCE"
+# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
+#config_strategy: "COPY_ONCE"
# Valid options are [ centos, fedora, oraclelinux, ubuntu ]
#kolla_base_distro: "centos"