5e28eb8496
Known bugs/TODOs at this time of this patch update: https://bugs.launchpad.net/kolla/+bug/1477990 https://bugs.launchpad.net/kolla/+bug/1477993 Implements: Blueprint swift-container Closes-bug: #1477992 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I031f88a7cd1867104fef12df6ab3ffcc06cb65d6
11 lines
213 B
Bash
Executable File
11 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
SOURCE="/opt/kolla/swift-proxy-server/swift.conf"
|
|
TARGET="/etc/swift/swift.conf"
|
|
OWNER="swift"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0640 $TARGET
|
|
fi
|