kolla/docker/common/glance/glance-registry/config-external.sh
Harm Weites 656ba297e7 Add config-internal/config-external to Glance containers
Partially Implements: Blueprint standard-start

Change-Id: I26e2fe52fe40efd001f9aae109ac6b7553d73264
2015-07-03 08:48:10 +02:00

11 lines
232 B
Bash
Executable File

#!/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