Harm Weites 60b6c1d81e Add config-internal/config-external to Swift containers
These containers look to be broken, bad. Fixing them should be done through a separate bug.
Here we only focus on getting aligned for Ansible deployments.

Partially Implements: Blueprint standard-start

Change-Id: I9d538f2c39510266f30cfed88e01c203f35bfb8e
2015-07-02 23:37:16 +02:00

11 lines
210 B
Bash
Executable File

#!/bin/bash
SOURCE="/opt/kolla/swift-container/swift.conf"
TARGET="/etc/swift/swift.conf"
OWNER="swift"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi