aboutsummaryrefslogtreecommitdiff
path: root/docker/cinder/cinder-api/config-external.sh
blob: 08d8cde0a228dd0ab1bb795760aa24608c681947 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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