91fc423a01
DocImpact Closes-Bug: #1477993 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifeab0fec11889cb0c90a56a6211dbdd27a40f3d9
20 lines
658 B
Bash
20 lines
658 B
Bash
#!/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
|