diff --git a/docker/cinder/cinder-api/config-external.sh b/docker/cinder/cinder-api/config-external.sh deleted file mode 100644 index 08d8cde0a228dd0ab1bb795760aa24608c681947..0000000000000000000000000000000000000000 --- a/docker/cinder/cinder-api/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/cinder-api/cinder.conf" -TARGET="/etc/cinder/cinder.conf" -OWNER="cinder" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/cinder/cinder-backup/config-external.sh b/docker/cinder/cinder-backup/config-external.sh deleted file mode 100644 index ff4752492b1394e692dea2933fd8a2c3db6c334c..0000000000000000000000000000000000000000 --- a/docker/cinder/cinder-backup/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/cinder-backup/cinder.conf" -TARGET="/etc/cinder/cinder.conf" -OWNER="cinder" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/cinder/cinder-scheduler/config-external.sh b/docker/cinder/cinder-scheduler/config-external.sh deleted file mode 100644 index 3c8ca26be114c81013cc7ba33b9a3b8d17cb610a..0000000000000000000000000000000000000000 --- a/docker/cinder/cinder-scheduler/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/cinder-scheduler/cinder.conf" -TARGET="/etc/cinder/cinder.conf" -OWNER="cinder" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/cinder/cinder-volume/config-external.sh b/docker/cinder/cinder-volume/config-external.sh deleted file mode 100755 index 2f6b99fc9c0266c841d469ff31ddaf97d399ba15..0000000000000000000000000000000000000000 --- a/docker/cinder/cinder-volume/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/cinder-volume/cinder.conf" -TARGET="/etc/cinder/cinder.conf" -OWNER="cinder" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/glance/glance-api/config-external.sh b/docker/glance/glance-api/config-external.sh deleted file mode 100755 index ce54117381c7ff503ca7ac485dd485fd90f01aa4..0000000000000000000000000000000000000000 --- a/docker/glance/glance-api/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/glance-api/glance-api.conf" -TARGET="/etc/glance/glance-api.conf" -OWNER="glance" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/glance/glance-registry/config-external.sh b/docker/glance/glance-registry/config-external.sh deleted file mode 100755 index 37abd136dad17aaaf2b08ee16cd58adf0dc73873..0000000000000000000000000000000000000000 --- a/docker/glance/glance-registry/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/glance-registry/glance-registry.conf" -TARGET="/etc/glance/glance-registry.conf" -OWNER="glance" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/haproxy/config-external.sh b/docker/haproxy/config-external.sh deleted file mode 100644 index 0c41a5bdbb7de573387603fd0c0a5756f0cc272b..0000000000000000000000000000000000000000 --- a/docker/haproxy/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/haproxy/haproxy.cfg" -TARGET="/etc/haproxy/haproxy.cfg" -OWNER="root" - -if [[ -f "$SOURCE" ]]; then - cp -f $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/heat/heat-api-cfn/config-external.sh b/docker/heat/heat-api-cfn/config-external.sh deleted file mode 100644 index 91d5742f1979c78018ef268544b57e46d87be3fe..0000000000000000000000000000000000000000 --- a/docker/heat/heat-api-cfn/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/heat-api-cfn/heat.conf" -TARGET="/etc/heat/heat.conf" -OWNER="heat" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/heat/heat-api/config-external.sh b/docker/heat/heat-api/config-external.sh deleted file mode 100644 index 2da92b2031527eaedcbd2086f4bfe7217065ef9f..0000000000000000000000000000000000000000 --- a/docker/heat/heat-api/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/heat-api/heat.conf" -TARGET="/etc/heat/heat.conf" -OWNER="heat" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/heat/heat-engine/config-external.sh b/docker/heat/heat-engine/config-external.sh deleted file mode 100644 index bde0ffe0de4fbe1d19b6e1ba0552b8be7d319a09..0000000000000000000000000000000000000000 --- a/docker/heat/heat-engine/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/heat-engine/heat.conf" -TARGET="/etc/heat/heat.conf" -OWNER="heat" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/horizon/config-external.sh b/docker/horizon/config-external.sh deleted file mode 100644 index 6eaedb3d4b1ca975ff9d4e8175b6f8227a06246b..0000000000000000000000000000000000000000 --- a/docker/horizon/config-external.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/horizon/local_settings" -TARGET="/etc/openstack-dashboard/local_settings" -OWNER="horizon" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi - -if [[ "${KOLLA_BASE_DISTRO}" == "ubuntu" || \ - "${KOLLA_BASE_DISTRO}" == "debian" ]]; then - SOURCE="/opt/kolla/horizon/horizon.conf" - TARGET="/etc/apache2/sites-enabled/000-default.conf" -else - SOURCE="/opt/kolla/horizon/horizon.conf" - TARGET="/etc/httpd/conf.d/horizon.conf" - -fi - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/keepalived/config-external.sh b/docker/keepalived/config-external.sh deleted file mode 100755 index d7ff97826ec0bf7eef2ebf658d641ecd11c4d733..0000000000000000000000000000000000000000 --- a/docker/keepalived/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/keepalived/keepalived.conf" -TARGET="/etc/keepalived/keepalived.conf" -OWNER="root" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/keystone/config-external.sh b/docker/keystone/config-external.sh deleted file mode 100644 index 1bd4e3bb4edf10d4d1f59a237452f74fb0282110..0000000000000000000000000000000000000000 --- a/docker/keystone/config-external.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/keystone/keystone.conf" -TARGET="/etc/keystone/keystone.conf" -OWNER="keystone" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi - -if [[ "${KOLLA_BASE_DISTRO}" == "ubuntu" || \ - "${KOLLA_BASE_DISTRO}" == "debian" ]]; then - SOURCE_WSGI="/opt/kolla/keystone/wsgi-keystone.conf" - TARGET_WSGI="/etc/apache2/conf-enabled/wsgi-keystone.conf" -else - SOURCE_WSGI="/opt/kolla/keystone/wsgi-keystone.conf" - TARGET_WSGI="/etc/httpd/conf.d/wsgi-keystone.conf" -fi - -if [[ -f "$SOURCE_WSGI" ]]; then - cp $SOURCE_WSGI $TARGET_WSGI - chown ${OWNER}: $TARGET_WSGI - chmod 0644 $TARGET_WSGI -fi diff --git a/docker/mariadb/config-external.sh b/docker/mariadb/config-external.sh deleted file mode 100644 index 43447a51ca58308714853b93e22aa4e07183efdf..0000000000000000000000000000000000000000 --- a/docker/mariadb/config-external.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/mariadb/galera.cnf" -TARGET="/etc/my.cnf.d/galera.cnf" -OWNER="mysql" - -# Cluster configuration -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0600 $TARGET -fi diff --git a/docker/memcached/config-external.sh b/docker/memcached/config-external.sh deleted file mode 100644 index d373ddc226668f92ba5fb83ff521961d2f447028..0000000000000000000000000000000000000000 --- a/docker/memcached/config-external.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/memcached/memcached.conf" -TARGET="/etc/memcached.conf" -OWNER="memcached" - -if [[ "${KOLLA_BASE_DISTRO}" == "ubuntu" || \ - "${KOLLA_BASE_DISTRO}" == "debian" ]]; then - OWNER="memcache" -else - OWNER="memcached" -fi - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/murano/murano-api/config-external.sh b/docker/murano/murano-api/config-external.sh deleted file mode 100644 index ffcdaef0b91db7a57c764dff70353c42b990b1f4..0000000000000000000000000000000000000000 --- a/docker/murano/murano-api/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/murano-api/murano.conf" -TARGET="/etc/murano/murano.conf" -OWNER="murano" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/murano/murano-engine/config-external.sh b/docker/murano/murano-engine/config-external.sh deleted file mode 100644 index af23e0e898f8783177098c03729bedff0dfa0e69..0000000000000000000000000000000000000000 --- a/docker/murano/murano-engine/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/murano-engine/murano.conf" -TARGET="/etc/murano/murano.conf" -OWNER="murano" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/neutron/neutron-linuxbridge-agent/config-external.sh b/docker/neutron/neutron-linuxbridge-agent/config-external.sh deleted file mode 100755 index c44d71d84d16531e104240b0390e3ee5c9341a07..0000000000000000000000000000000000000000 --- a/docker/neutron/neutron-linuxbridge-agent/config-external.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/neutron-linuxbridge-agent/neutron.conf" -TARGET="/etc/neutron/neutron.conf" -OWNER="neutron" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi - -SOURCE="/opt/kolla/neutron-linuxbridge-agent/ml2_conf.ini" -TARGET="/etc/neutron/plugins/ml2/ml2_conf.ini" -OWNER="neutron" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/neutron/neutron-openvswitch-agent/config-external.sh b/docker/neutron/neutron-openvswitch-agent/config-external.sh deleted file mode 100755 index 552d69861792d0977cb9b956561267c5f0440861..0000000000000000000000000000000000000000 --- a/docker/neutron/neutron-openvswitch-agent/config-external.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/neutron-openvswitch-agent/neutron.conf" -TARGET="/etc/neutron/neutron.conf" -OWNER="neutron" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi - -SOURCE="/opt/kolla/neutron-openvswitch-agent/ml2_conf.ini" -TARGET="/etc/neutron/plugins/ml2/ml2_conf.ini" -OWNER="neutron" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/neutron/neutron-server/config-external.sh b/docker/neutron/neutron-server/config-external.sh deleted file mode 100755 index 574923067fdf16a7b49566d72ff903fa28959580..0000000000000000000000000000000000000000 --- a/docker/neutron/neutron-server/config-external.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/neutron-server/neutron.conf" -TARGET="/etc/neutron/neutron.conf" -OWNER="neutron" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi - -SOURCE="/opt/kolla/neutron-server/ml2_conf.ini" -TARGET="/etc/neutron/plugins/ml2/ml2_conf.ini" -OWNER="neutron" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-api/config-external.sh b/docker/nova/nova-api/config-external.sh deleted file mode 100755 index d0859893d9ac2d0201996b69f149f61ce219429d..0000000000000000000000000000000000000000 --- a/docker/nova/nova-api/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-api/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-compute/config-external.sh b/docker/nova/nova-compute/config-external.sh deleted file mode 100755 index e844bf50c241a7fb95b265aadb1fdaa523f3abcd..0000000000000000000000000000000000000000 --- a/docker/nova/nova-compute/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-compute/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-conductor/config-external.sh b/docker/nova/nova-conductor/config-external.sh deleted file mode 100755 index ea3b123ec783bdbbebe1ff5e9905485c89034047..0000000000000000000000000000000000000000 --- a/docker/nova/nova-conductor/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-conductor/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-consoleauth/config-external.sh b/docker/nova/nova-consoleauth/config-external.sh deleted file mode 100755 index 1da10d83f26f8d25b3fc96115769b95469819a85..0000000000000000000000000000000000000000 --- a/docker/nova/nova-consoleauth/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-consoleauth/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-libvirt/config-external.sh b/docker/nova/nova-libvirt/config-external.sh deleted file mode 100755 index acc1c5473b251447239f45e893650b7e42b61f3a..0000000000000000000000000000000000000000 --- a/docker/nova/nova-libvirt/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/libvirt/libvirtd.conf" -TARGET="/etc/libvirt/libvirtd.conf" -OWNER="libvirt" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-network/config-external.sh b/docker/nova/nova-network/config-external.sh deleted file mode 100755 index 7c1d6bb377ae149b71dc3ff50986b973f1b49268..0000000000000000000000000000000000000000 --- a/docker/nova/nova-network/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-network/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-novncproxy/config-external.sh b/docker/nova/nova-novncproxy/config-external.sh deleted file mode 100755 index fdc33a5bdc46656875ec5f592ce1938e219c22cd..0000000000000000000000000000000000000000 --- a/docker/nova/nova-novncproxy/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-novncproxy/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/nova/nova-scheduler/config-external.sh b/docker/nova/nova-scheduler/config-external.sh deleted file mode 100755 index 3df0f9b7bb8647b7a66ac467f03896237153764d..0000000000000000000000000000000000000000 --- a/docker/nova/nova-scheduler/config-external.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -SOURCE="/opt/kolla/nova-scheduler/nova.conf" -TARGET="/etc/nova/nova.conf" -OWNER="nova" - -if [[ -f "$SOURCE" ]]; then - cp $SOURCE $TARGET - chown ${OWNER}: $TARGET - chmod 0644 $TARGET -fi diff --git a/docker/openvswitch/ovs-db-server/config-external.sh b/docker/openvswitch/ovs-db-server/config-external.sh deleted file mode 100644 index 9ada4efcb1ee6c5ebc29c1d6c2224efcb8e83724..0000000000000000000000000000000000000000 --- a/docker/openvswitch/ovs-db-server/config-external.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -#This file should be a noop. It just needs to exist, but it don't perform any function diff --git a/docker/openvswitch/ovs-vswitchd/config-external.sh b/docker/openvswitch/ovs-vswitchd/config-external.sh deleted file mode 100644 index 9ada4efcb1ee6c5ebc29c1d6c2224efcb8e83724..0000000000000000000000000000000000000000 --- a/docker/openvswitch/ovs-vswitchd/config-external.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -#This file should be a noop. It just needs to exist, but it don't perform any function diff --git a/docker/rabbitmq/config-external.sh b/docker/rabbitmq/config-external.sh deleted file mode 100644 index 33810d621d93b25336a0ec6de3d268c9bacec6aa..0000000000000000000000000000000000000000 --- a/docker/rabbitmq/config-external.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -SOURCE_CONFIG="/opt/kolla/rabbitmq/rabbitmq.config" -TARGET_CONFIG="/etc/rabbitmq/rabbitmq.config" -SOURCE_ENV="/opt/kolla/rabbitmq/rabbitmq-env.conf" -TARGET_ENV="/etc/rabbitmq/rabbitmq-env.conf" -OWNER="rabbitmq" - -# Cluster configuration -if [[ -f "$SOURCE_CONFIG" ]]; then - cp -af $SOURCE_CONFIG $TARGET_CONFIG - chown ${OWNER}: $TARGET_CONFIG - chmod 0600 $TARGET_CONFIG -fi - -if [[ -f "$SOURCE_ENV" ]]; then - cp -af $SOURCE_ENV $TARGET_ENV - chown ${OWNER}: $TARGET_ENV - chmod 0600 $TARGET_ENV -fi diff --git a/docker/swift/swift-account-auditor/config-external.sh b/docker/swift/swift-account-auditor/config-external.sh deleted file mode 100644 index 955d75341ce1cbaedeaa605ec2452c371963806d..0000000000000000000000000000000000000000 --- a/docker/swift/swift-account-auditor/config-external.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [[ -f /opt/kolla/swift/swift.conf ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/ - chown swift: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown swift: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f /opt/kolla/swift-account-auditor/account-auditor.conf ]]; then - cp /opt/kolla/swift-account-auditor/account-auditor.conf /etc/swift/ - chown swift: /etc/swift/account-auditor.conf - chmod 0640 /etc/swift/account-auditor.conf -fi diff --git a/docker/swift/swift-account-reaper/config-external.sh b/docker/swift/swift-account-reaper/config-external.sh deleted file mode 100644 index dc2055ab31b37aa92bd44b7d15ba208b9f1a554a..0000000000000000000000000000000000000000 --- a/docker/swift/swift-account-reaper/config-external.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [[ -f /opt/kolla/swift/swift.conf ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/ - chown swift: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown swift: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f /opt/kolla/swift-account-reaper/account-reaper.conf ]]; then - cp /opt/kolla/swift-account-reaper/account-reaper.conf /etc/swift/ - chown swift: /etc/swift/account-reaper.conf - chmod 0640 /etc/swift/account-reaper.conf -fi diff --git a/docker/swift/swift-account-replicator/config-external.sh b/docker/swift/swift-account-replicator/config-external.sh deleted file mode 100644 index 062c524f25d38ef074a1638c38ab9d48e4aa9e30..0000000000000000000000000000000000000000 --- a/docker/swift/swift-account-replicator/config-external.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [[ -f /opt/kolla/swift/swift.conf ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/ - chown swift: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown swift: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f /opt/kolla/swift-account-replicator/account-replicator.conf ]]; then - cp /opt/kolla/swift-account-replicator/account-replicator.conf /etc/swift/ - chown swift: /etc/swift/account-replicator.conf - chmod 0640 /etc/swift/account-replicator.conf -fi diff --git a/docker/swift/swift-account-server/config-external.sh b/docker/swift/swift-account-server/config-external.sh deleted file mode 100644 index 61adefcd06ff3440b7c49a4e5c14c4835587a437..0000000000000000000000000000000000000000 --- a/docker/swift/swift-account-server/config-external.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [[ -f /opt/kolla/swift/swift.conf ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/ - chown swift: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown swift: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f /opt/kolla/swift-account-server/account-server.conf ]]; then - cp /opt/kolla/swift-account-server/account-server.conf /etc/swift/ - chown swift: /etc/swift/account-server.conf - chmod 0640 /etc/swift/account-server.conf -fi diff --git a/docker/swift/swift-container-auditor/config-external.sh b/docker/swift/swift-container-auditor/config-external.sh deleted file mode 100644 index e01cc12ae30450572e1d61beb18fc6ea4dbdad40..0000000000000000000000000000000000000000 --- a/docker/swift/swift-container-auditor/config-external.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-container-auditor/container-auditor.conf" ]]; then - cp /opt/kolla/swift-container-auditor/container-auditor.conf /etc/swift/container-auditor.conf - chown ${OWNER}: /etc/swift/container-auditor.conf - chmod 0640 /etc/swift/container-auditor.conf -fi diff --git a/docker/swift/swift-container-replicator/config-external.sh b/docker/swift/swift-container-replicator/config-external.sh deleted file mode 100644 index 439d4ae97a58e9aefa874ae0a954691313a95c32..0000000000000000000000000000000000000000 --- a/docker/swift/swift-container-replicator/config-external.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-container-replicator/container-replicator.conf" ]]; then - cp /opt/kolla/swift-container-replicator/container-replicator.conf /etc/swift/container-replicator.conf - chown ${OWNER}: /etc/swift/container-replicator.conf - chmod 0640 /etc/swift/container-replicator.conf -fi diff --git a/docker/swift/swift-container-server/config-external.sh b/docker/swift/swift-container-server/config-external.sh deleted file mode 100644 index d81ba6cc41c29170f906dd2d1634e442477dfaa2..0000000000000000000000000000000000000000 --- a/docker/swift/swift-container-server/config-external.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-container-server/container-server.conf" ]]; then - cp /opt/kolla/swift-container-server/container-server.conf /etc/swift/container-server.conf - chown ${OWNER}: /etc/swift/container-server.conf - chmod 0640 /etc/swift/container-server.conf -fi diff --git a/docker/swift/swift-container-updater/config-external.sh b/docker/swift/swift-container-updater/config-external.sh deleted file mode 100644 index ea2d3b781acaaf6c73d04dede835a251570e92e4..0000000000000000000000000000000000000000 --- a/docker/swift/swift-container-updater/config-external.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown swift: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-container-updater/container-updater.conf" ]]; then - cp /opt/kolla/swift-container-updater/container-updater.conf /etc/swift/container-updater.conf - chown ${OWNER}: /etc/swift/container-updater.conf - chmod 0640 /etc/swift/container-updater.conf -fi diff --git a/docker/swift/swift-object-auditor/config-external.sh b/docker/swift/swift-object-auditor/config-external.sh deleted file mode 100644 index 02be86bfd572f31af0b3902d44e76cab6b967bf9..0000000000000000000000000000000000000000 --- a/docker/swift/swift-object-auditor/config-external.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/object.ring.gz" ]]; then - cp /opt/kolla/swift/object.ring.gz /etc/swift/object.ring.gz - chown ${OWNER}: /etc/swift/object.ring.gz - chmod 0640 /etc/swift/object.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-object-auditor/object-auditor.conf" ]]; then - cp /opt/kolla/swift-object-auditor/object-auditor.conf /etc/swift/object-auditor.conf - chown ${OWNER}: /etc/swift/object-auditor.conf - chmod 0640 /etc/swift/object-auditor.conf -fi diff --git a/docker/swift/swift-object-expirer/config-external.sh b/docker/swift/swift-object-expirer/config-external.sh deleted file mode 100644 index 51fe26618d77faab091863f560e824b56464a22b..0000000000000000000000000000000000000000 --- a/docker/swift/swift-object-expirer/config-external.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/object.ring.gz" ]]; then - cp /opt/kolla/swift/object.ring.gz /etc/swift/object.ring.gz - chown ${OWNER}: /etc/swift/object.ring.gz - chmod 0640 /etc/swift/object.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown ${OWNER}: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f "/opt/kolla/swift-object-expirer/object-expirer.conf" ]]; then - cp /opt/kolla/swift-object-expirer/object-expirer.conf /etc/swift/object-expirer.conf - chown ${OWNER}: /etc/swift/object-expirer.conf - chmod 0640 /etc/swift/object-expirer.conf -fi diff --git a/docker/swift/swift-object-replicator/config-external.sh b/docker/swift/swift-object-replicator/config-external.sh deleted file mode 100644 index 827721088155a3766f868d14074cb1d3d773dd85..0000000000000000000000000000000000000000 --- a/docker/swift/swift-object-replicator/config-external.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/object.ring.gz" ]]; then - cp /opt/kolla/swift/object.ring.gz /etc/swift/object.ring.gz - chown ${OWNER}: /etc/swift/object.ring.gz - chmod 0640 /etc/swift/object.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-object-replicator/object-replicator.conf" ]]; then - cp /opt/kolla/swift-object-replicator/object-replicator.conf /etc/swift/object-replicator.conf - chown ${OWNER}: /etc/swift/object-replicator.conf - chmod 0640 /etc/swift/object-replicator.conf -fi diff --git a/docker/swift/swift-object-server/config-external.sh b/docker/swift/swift-object-server/config-external.sh deleted file mode 100644 index a3fb1a2cc5e71a6231cfeff41f606747775557b8..0000000000000000000000000000000000000000 --- a/docker/swift/swift-object-server/config-external.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/object.ring.gz" ]]; then - cp /opt/kolla/swift/object.ring.gz /etc/swift/object.ring.gz - chown ${OWNER}: /etc/swift/object.ring.gz - chmod 0640 /etc/swift/object.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-object-server/object-server.conf" ]]; then - cp /opt/kolla/swift-object-server/object-server.conf /etc/swift/object-server.conf - chown ${OWNER}: /etc/swift/object-server.conf - chmod 0640 /etc/swift/object-server.conf -fi diff --git a/docker/swift/swift-object-updater/config-external.sh b/docker/swift/swift-object-updater/config-external.sh deleted file mode 100644 index b94844476b48c2f41446a5dfb995cbf444daf65c..0000000000000000000000000000000000000000 --- a/docker/swift/swift-object-updater/config-external.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/object.ring.gz" ]]; then - cp /opt/kolla/swift/object.ring.gz /etc/swift/object.ring.gz - chown ${OWNER}: /etc/swift/object.ring.gz - chmod 0640 /etc/swift/object.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift-object-updater/object-updater.conf" ]]; then - cp /opt/kolla/swift-object-updater/object-updater.conf /etc/swift/object-updater.conf - chown ${OWNER}: /etc/swift/object-updater.conf - chmod 0640 /etc/swift/object-updater.conf -fi diff --git a/docker/swift/swift-proxy-server/config-external.sh b/docker/swift/swift-proxy-server/config-external.sh deleted file mode 100755 index 434cce7e5fc37b21bbab6669db5f8b78bd4fdde2..0000000000000000000000000000000000000000 --- a/docker/swift/swift-proxy-server/config-external.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift/swift.conf" ]]; then - cp /opt/kolla/swift/swift.conf /etc/swift/swift.conf - chown ${OWNER}: /etc/swift/swift.conf - chmod 0640 /etc/swift/swift.conf -fi - -if [[ -f "/opt/kolla/swift/object.ring.gz" ]]; then - cp /opt/kolla/swift/object.ring.gz /etc/swift/object.ring.gz - chown ${OWNER}: /etc/swift/object.ring.gz - chmod 0640 /etc/swift/object.ring.gz -fi - -if [[ -f "/opt/kolla/swift/container.ring.gz" ]]; then - cp /opt/kolla/swift/container.ring.gz /etc/swift/container.ring.gz - chown ${OWNER}: /etc/swift/container.ring.gz - chmod 0640 /etc/swift/container.ring.gz -fi - -if [[ -f "/opt/kolla/swift/account.ring.gz" ]]; then - cp /opt/kolla/swift/account.ring.gz /etc/swift/account.ring.gz - chown ${OWNER}: /etc/swift/account.ring.gz - chmod 0640 /etc/swift/account.ring.gz -fi - -if [[ -f "/opt/kolla/swift-proxy-server/proxy-server.conf" ]]; then - cp /opt/kolla/swift-proxy-server/proxy-server.conf /etc/swift/proxy-server.conf - chown ${OWNER}: /etc/swift/proxy-server.conf - chmod 0640 /etc/swift/proxy-server.conf -fi diff --git a/docker/swift/swift-rsyncd/config-external.sh b/docker/swift/swift-rsyncd/config-external.sh deleted file mode 100644 index 3b3104272e2632357799b3ea13dfd62708448a77..0000000000000000000000000000000000000000 --- a/docker/swift/swift-rsyncd/config-external.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -OWNER="swift" - -if [[ -f "/opt/kolla/swift-rsyncd/rsyncd.conf" ]]; then - cp /opt/kolla/swift-rsyncd/rsyncd.conf /etc/rsyncd.conf - chown ${OWNER}: /etc/rsyncd.conf - chmod 0640 /etc/rsyncd.conf -fi